
How to validate empty values in an array?
if (dml.elements[i].name=='Names[]')// Immediate Name
{
// if exists do the validation and set the focus to the textbox
if (dml.elements[i].value=="")
{
alert("Your Name is Required!");
dml.elements[i].focus();
return false;
}
}