I want to validate a listbox by writing a small javascript which will not allow duplicate values inside it,and should pop an alert box when tried to duplicate, could anyone tell me how to go about with a sample javascript code. Thanks
I enter a store number into the list box like 1001,1002 1003 and later I try to renter 1001 through a text box then I should be able to stop it with a alert box.
You would have to compare the values of the select with the values of the text box. How are the values of the select populated? Hard Coded, from an array, from a database? Eric
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, the permaculture playing cards