javascript multiple input textbox validation

Posted by murugesan on Stack Overflow See other posts from Stack Overflow or by murugesan
Published on 2009-07-13T13:38:07Z Indexed on 2010/04/30 3:07 UTC
Read the original article Hit count: 275

Filed under:

I have 'n' number of textbox on a form, after the user enters a value in a textbox, i need to validate its not a duplicate in the other textboxes.

Ex :

Textbox[0] : 1
Textbox[1] : 2 
Textbox[2] : 3
Textbox[4] : 1

For this example it should alert saying that '1' have entered twice. Let me know what to be done.

© Stack Overflow or respective owner

Related posts about JavaScript