Tuesday, June 16, 2009

Javascript Validation

function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value=="")
{
alert(alerttxt);return false;
}
else
{
return true;
}
}
}

0 comments:

Post a Comment

plzz give the comment