My Blog
Form methods and properties
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()...
Accessing the form elements
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:...
Determining values
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...
ASP – Active Server Page
Active Server Page Active Server Page (ASP) are Web pages that contain server-side scripts in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags. Server-side scripts are special commands you put in Web pages that are processed before the...
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 }
PHP
What is this? Taken directly from PHP's home, PHP.net , "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from...
Join My Newsletter
Like Us
Follow Us
Contact Me
Email: me@shashidharkumar.com
Phone: +91-943-185-6038