Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
139
rated 0 times [  143] [ 4]  / answers: 1 / hits: 57444  / 14 Years ago, mon, january 31, 2011, 12:00:00

How can I find out if an input field is anything other than a select ?



I tried with if($(el).not(select)) and I get the selects too...


More From » jquery

 Answers
47
if(!$(el).is(select)) {
// the input field is not a select
}

[#93969] Saturday, January 29, 2011, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
maryann

Total Points: 600
Total Questions: 104
Total Answers: 97

Location: Sint Maarten
Member since Tue, Mar 29, 2022
2 Years ago
maryann questions
Fri, Oct 15, 21, 00:00, 3 Years ago
Thu, Aug 13, 20, 00:00, 4 Years ago
Wed, Jul 17, 19, 00:00, 5 Years ago
Mon, Dec 17, 18, 00:00, 6 Years ago
;