I am having an issue with my validation function. Specificly in Netscape. It is not liking my code for checking a dropdown list.
if (document.forms[0].State.value == ""
I have also tried some ".selectedIndex" versions to no avail. My error keeps reading that "document.forms[0].State.value has no properties".
Is there is simple naming convention I am missing out on? How should I go about checking the value of a dropdown? Any help is graetly appreciated.
Thanks for your time,
Moogwai
if (document.forms[0].State.value == ""
I have also tried some ".selectedIndex" versions to no avail. My error keeps reading that "document.forms[0].State.value has no properties".
Is there is simple naming convention I am missing out on? How should I go about checking the value of a dropdown? Any help is graetly appreciated.
Thanks for your time,
Moogwai