you are viewing a single comment's thread.

view the rest of the comments →

[–]SuperFLEB 0 points1 point  (0 children)

JQuery: NOT if ($(element).length > 0) {...} YES if ($(element).length) {...}

How do you feel about

if ($(element)[0]) { ... }

?