function length Define(inputtext, min, max) // Function that checks whether a option is selected from the selector and if it's not it displays an alert message.function true Selection(inputtext, alert Msg) // Function that checks whether an user entered valid email address or not and displays alert message on wrong email address format.
And, in any case, , and frankly that would look nicer, but then we’d have no indication in browsers that don’t support box-shadows, such as IE8.
function form Validation() // Function that checks whether input text is numeric or not.
function text Numeric(inputtext, alert Msg) // Function that checks whether input text is an alphabetic character or not.
So, just to make sure that user entered the email address in the correct format, it’s necessary to include email validation code inside the validation codes.
A general expression to check valid email address is: /^[w-.