Harshmellow
Programmer
Hello!
I´m using a javascript and it works fine on Explorer browsers, but it doesn´t work in Netscape. Why does this happen and HOW can I solve this? Asap!
my code is as follows:
<SCRIPT LANGUAGE="JavaScript">
function validate(form)
{
if (form.pass.value != form.confirmpass.value) {
alert("Passwords do not match!"
form.pass.value = '';
form.confirmpass.value = '';
form.pass.focus();
return false;
}
return true;
}
</SCRIPT>
And the function is called from the onSubmit form function.
Thanks in advance, .: HarshMellow :. "Sperto ne estas tio, kio okazis al vi, sed estas tio, kion vi faras al tio, kio okazas al vi." (Aldous Huxley)
I´m using a javascript and it works fine on Explorer browsers, but it doesn´t work in Netscape. Why does this happen and HOW can I solve this? Asap!
my code is as follows:
<SCRIPT LANGUAGE="JavaScript">
function validate(form)
{
if (form.pass.value != form.confirmpass.value) {
alert("Passwords do not match!"
form.pass.value = '';
form.confirmpass.value = '';
form.pass.focus();
return false;
}
return true;
}
</SCRIPT>
And the function is called from the onSubmit form function.
Thanks in advance, .: HarshMellow :. "Sperto ne estas tio, kio okazis al vi, sed estas tio, kion vi faras al tio, kio okazas al vi." (Aldous Huxley)