Hi,
I want to write a javascript function to do data validation for drop down item.
My form's name is myform
My code is below in a function:
if (document.myform.mylist.value="")
{
alert "Please select a value before save";
return;
}
It didnot work.
What should I get the list value and check it?
Thanks