/ Published in: jQuery
Expand |
Embed | Plain Text
if ($("#id").length) { //it does! }
Comments
Subscribe to comments
You need to login to post a comment.
daipratt on 01/08/10
1 person have marked this snippet as a favorite
if ($("#id").length) { //it does! }
Subscribe to comments
You need to login to post a comment.
used that bad boy the other day!
how bout - if($("#id")){} that works too.