Hi all,
I need somebody to help me out with this javascript below, which work well in IE but not in Netscape for dropdown validation. Can anyone give me a soultion for this problem.
function checkforblanks()
{
for (var i = 0; i < arguments.length; i += 2)
{
if (!arguments)
{alert("Please enter " + arguments[i+1] + "."
;return false;}
}
return true;
}
function validate()
{
// Make sure none of the required fields are empty
var isFull = checkforblanks(document.study.proj_code.value,
"Project Code"
;
if (!isFull)
{return false;}
}
Thank's
I need somebody to help me out with this javascript below, which work well in IE but not in Netscape for dropdown validation. Can anyone give me a soultion for this problem.
function checkforblanks()
{
for (var i = 0; i < arguments.length; i += 2)
{
if (!arguments)
{alert("Please enter " + arguments[i+1] + "."
}
return true;
}
function validate()
{
// Make sure none of the required fields are empty
var isFull = checkforblanks(document.study.proj_code.value,
"Project Code"
if (!isFull)
{return false;}
}
Thank's