Posts Tagged ‘jQuery’

Monday, 15 September 2008

How to check whether an element exists using jQuery

When using jQuery (or any other JavaScript library for that matter), have you ever wondered how to test whether an element exists using a selector? Well, maybe you haven’t, but I have - lots of times - so I thought I’d share how it’s done here because it’s not as simple as it seems.

[Read more →]