Hi,
I have the following script which checks to see if the menu has been changed from its set vaule:
Now problem is that actually the "Item" is called the following as there is multieple drop downs:
1.ResCatID
2.ResCatID
3.ResCatID
4.ResCatID
How can i do this please?
Thanks
James
I have the following script which checks to see if the menu has been changed from its set vaule:
Code:
<SCRIPT LANGUAGE="JavaScript"'>
<!--
function validateForm(){
if(document.ItemList.Item.selectedIndex==0)
{
alert("Please select an Item.");
document.ItemList.Item.focus();
return false;
}
return true;
}
//-->
</SCRIPT>
Now problem is that actually the "Item" is called the following as there is multieple drop downs:
1.ResCatID
2.ResCatID
3.ResCatID
4.ResCatID
How can i do this please?
Thanks
James