15,688 Topics
![]() | |
I have 2 ASP.NET controls, which are the label and textbox. Both of this controls are enclosed with <div></div> When the end-users seletected a radio button which value is `Others` The <div> block and show it up without any postback. by using <div> block is i doing research i am … | |
$(document).ready(function() { clearTextBox(); }); function clearTextBox() { $('#btnReset').onclick = function() { $('#txtName').val = ""; $('#txtContactEmail').val = ""; $('#txtMessage').val = ""; }; } I am using asp.net to develop my web page. Thus, all those control are on server-side. But whenever my `btnReset` is click is should be clear the textbox … | |
Hi in my javascript i need to increase an int value by one after every 5 seconds. How to do this? The script should keep increasing until the user moves away from the page. | |
Hello everyone i have two forms that are similiar the only difference is the rma number. One RMA number will get typed in by the user which will add it to the database and the second one, the user will select an rma number from the database(dropdown menu). What i … | |
<script type="text/javascript"> (function($){ $(function(){ $("#frmmsg").submit(function(e){ e.preventDefault(); $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ document.location.reload(); }); }); }); })(jQuery); </script> | |
Hello, on the top of the page I have a menu created in CSS.... with drop down lists... all looks nice.. later... I added wowslider right below... wowslider plugin is really cool... but the dropdown menus fall behind the slider! so I find it is because of z-index properties... and … | |
Hi all, I am beginner in javascript. I am attempting to change border color and style of a asp.net text box using javascript. The function is inside a .js file. It is as follows. [CODE]function checkMoney(controlID) { var control = document.getElementById(controlID); var text = control.value; var letter; if (text == … | |
i have page in classic asp which shows records from database. i have checkboxes in front of each row. i want to delete all records that are checked. | |
Hello everyone !! I need some help with jquery toggle :D . So , I have 2 left bars (one for login , one for register ) but they can be toggled on simultaneos and that is not good ( 1- don't make sense 2- don't look good ) . … | |
Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have … | |
How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it … | |
i wanna make simple script that multiply any input by .51 and show the result automatic, without pressing any button,i got two scripts first script add value one to value two and show result auto, other script multiply but i have to press button, how to merge them :S and … | |
Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> … | |
Hi guys, I'm working on the div class of blocks to control them using the keyboard up and down arrow buttons. I have the list of blocks where 7 of them are showing while the other blocks are hiding. I have text of blocks from block 1 to block 17. … | |
Hello , so i get an error with ajax when i move the site i scripted to my server ( so on my localhost it works ) . The error is something like origin not allowed by access control allow origin var trimitere = $.ajax({ url: "underpublic/searchforprice.php", type: "get", crossDomain: … | |
Which is the latest version of HTML, with the most support for new browser? | |
I'm developing a web appication using ASP.NET and VB.NET. In my application im using ajax control tool kit. this is what happned to me... I load data to my AJAX combo box. But when it dropped down, there is a gap between combo box and dropped down list. I search … | |
I need javascript for automatic city display when i click one state from list box. for example one list box i fetch karnataka, then automatically cities display whatever cities there in karnataka in another list box . Please reply..am newbee of script writing.... | |
I have a ajax fucntion that gets a json array from the php , 8 numbers formed like this ["0","0","0","0","0","0","0","1"] , As I get this in a var called data , data[0] and this kind doesen't work , how can I access this numbers ? | |
Hello. l am using panzoom [Click Here](https://github.com/timmywil/jquery.panzoom/) plugin. Problem is the plugin allows the image to pan into invisibility. Does anyone know a way l can stop the panning before the image goes into the invisible part of the page. ![]() | |
I want to writ a jscript code that asks user to type (example) his name and than that name to be stored in variable x. this is what i have done so far, i am very new on jscript se please somebody can correct me with this. var x = … | |
Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script … | |
How I can passing quantifier as variable in this regexp `str.match(/^(\-)?\d+( (\-)?\d+){3}$/)` | |
Hi, I am trying to create an application which utilizes the distance finder. I want to be able to calculate the distance between two points. I have managed to (with the aid of a lot of tutorials) be able to calculate the distances between two points. Now, in the application, … | |
Hi I have 5 div tags in my html page and there is a print button. when i click on the print button it has to print only a particular div. for example it has to print the 2nd div which contains some personal information. It should not print the … | |
Greetings, I am looking for suggestions and feedback about needed bandwidth from a Web hosting company (thinking of VPS or Dedicated) for my websites. Earlier I had asked about how to insert thumbnail (live) images, if possible, of other websites so that users can see a preview (live) of the … | |
Hello, My HTML+JS : <head> <script type="text/javascript"> function passList() { var p=[]; $('input.first').each( function() { if($(this).attr('checked')) { p.push($(this).attr('rel')); } } ); $.ajax( { url:'process.php', type:'POST', data: {list:p}, success: function(res) { $("#result").html(res); } }); } function passType() { var q=[]; $('input.second').each( function() { if($(this).attr('checked')) { q.push($(this).attr('rel')); } } ); $.ajax( { … | |
What option for cURL needs to be changed in order to retrieve the XML content, as I have added the curlopt option for xml content but all that happens is the JS error of "no data received" <?php $agent = $_SERVER["HTTP_USER_AGENT"]; $timeout = 5; // set to zero for no … |
The End.