This chapter explains how to display add HTML control dynamically through JavaScript. Click for Demo : Add HTML Control Download the script : Add HTML Control
Posted on 19 March 2010.
This chapter explains how to display add HTML control dynamically through JavaScript. Click for Demo : Add HTML Control Download the script : Add HTML Control
Posted in JavaScript, JavaScript, Programming, Project0 Comments
Posted on 14 November 2009.
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
Posted in Article, HTML, JavaScript, Programming, Tutorial0 Comments
Posted on 04 June 2009.
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; document.getElementById(‘box’).style.background=’#fff000′; if (agree) { document.getElementById(‘enterName’).style.visibility = ‘visible’; } document.enableform.box.focus(); } function disagree() { if (!document.getElementById) return false; agree=0; if (!agree) { document.getElementById(‘enterName’).style.visibility = ‘hidden’; } document.enableform.done.focus(); } function goSubmit() [...]
Posted in JavaScript, Tutorial0 Comments
Posted on 08 March 2008.
JavaScript – Increament function Script JavaScript – E-mail Validation Script
Posted in JavaScript0 Comments
Posted on 24 November 2007.
<HTML><HEAD><TITLE>ABC</TITLE> <SCRIPT LANGUAGE=”JAVASCRIPT” TYPE=”TEXT/JAVASCRIPT”> <!– a = 23; function ad() { a = (++a); alert(a); } //–> </script> </HEAD> <BODY> <a href=”javascript:ad();” mce_href=”javascript:ad();” title=”Add more” name=”add”> Add More Records </a> </BODY></HTML>
Posted in JavaScript0 Comments
Posted on 06 November 2007.
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 has checked at least one checkbox, and [...]
Posted in JavaScript0 Comments
Posted on 06 November 2007.
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() method. To submit the first form on the page, do document.forms[0].submit() Please note that when a form is submitted by JavaScript the onsubmit event handler [...]
Posted in JavaScript0 Comments
Posted on 06 November 2007.
The form validation script needs to access the form in the HTML page to determine what values the user has filled in. So first we have to enter the form by means of the Level 0 DOM. The general syntax for accessing a form element is: document.forms[number].elements[number] When the page is loaded, JavaScript makes [...]
Posted in JavaScript0 Comments
Posted on 06 November 2007.
Of course, the most important thing is to find out what the user has filled in or checked in the form. At other times you might want to fill in something in the form. Below are snippets of scripts that help you access form elements. All of them are meant to send the [...]
Posted in JavaScript0 Comments
Posted on 06 August 2007.
var emailfilter=/^w+[+.w-]*@([w-]+.)*w+[w-]*.([a-z]{2,4}|d+)$/i function checkmail(e){ var returnval=emailfilter.test(e.value) if (returnval==false){ alert(“Please enter a valid email address.”) e.select() } return returnval }
Posted in JavaScript0 Comments

Get Social!