<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>
Related posts:
- OnSubmit When using JavaScript to check a form, the first thing you need is the onsubmit event handler. This event...
- JavaScript – Email Validation script 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 }...
- Accessing the form elements The form validation script needs to access the form in the HTML page to determine what values the user...


Get Social!