function validate_request_form(){
var valid = true;
if ( document.request_form.firstname.value == "" )
{ alert ( "Please fill in first name" ); valid = false; return false; }
return valid;
}
$j('#video-request-form').submit(function() {
if (!validate_request_form() )
return false;
});
I am using this code to validate my form. My form has id=video-request-form and the form name is request_form. This all works fine in latest FF, but can't get it to work in IE6...anyone?