Thread
:
Best way to validate forms?
View Single Post
03-08-2010, 09:22 PM
Jakez
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
LOL I think I finally stumped everyone. I did find a solution though:
Quote:
var selects = $("select[name^=stuff]");
var wtf = $.inArray("thing",selects.map(function() { return $(this).val(); }).get()) > -1;
Returns true or false.
__________________
[email protected]
- jakezdumb - 573689400
Killuminati
Jakez
View Public Profile
Visit Jakez's homepage!
Find More Posts by Jakez