Jquery if() statement
Jquery if() statement
Out of context: Reply #8
- Started
- Last post
- 16 Responses
- acescence0
it's true because you're always returned a jquery object, even if that object is empty. you have to test it's length as bigtrickagain posted above