by Shashi Dhar Kumar | Nov 14, 2009 | HTML, JavaScript, Programming
In this program just change the source of iframe and your loading.gif will show upto that time when page will not upload finally. For Demo Click Here Download Script Click Here
by Shashi Dhar Kumar | Jun 4, 2009 | JavaScript
Save this code as external JavaScript file named: agree.js var agree=0; // 0 = ‘no’, 1 = ‘yes’ function agree2() { if (!document.getElementById) return false; agree=1;...
by Shashi Dhar Kumar | Mar 8, 2008 | JavaScript
JavaScript – Increament function Script JavaScript – E-mail Validation Script
by Shashi Dhar Kumar | Nov 24, 2007 | JavaScript
<HTML><HEAD><TITLE>ABC</TITLE> <SCRIPT LANGUAGE=”JAVASCRIPT” TYPE=”TEXT/JAVASCRIPT”> <!– a = 23; function ad() { a = (++a); alert(a); } //–> </script> </HEAD> <BODY> <a...
by Shashi Dhar Kumar | Nov 6, 2007 | JavaScript
When using JavaScript to check a form, the first thing you need is the onsubmit event handler. This event handler specifies a script that is executed when the user submits the form. That script is where you check whether certain fields have a value, whether the user...
by Shashi Dhar Kumar | Nov 6, 2007 | JavaScript
JavaScript has a few built-in methods and properties for dealing with forms. Three of them are especially important: You can submit a form by using the submit()...