>I changed your function to the following if statement.
>
>if (document.form1.stateprov.options[document.form1.stateprov.selectedIndex].value =" ")
>
>{
>//make user choose an entry
>}
>
>However the value keeps coming up to be blank. Which is the first entry in the list. The list gets dynamically created with asp.
It appears that should work... you may want to go to
www.devhead.com - there are resources there for snippets of Java code (that's where I do most of my Java shopping <g>).
HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown