web development

November 20, 2011 JavaScript , jQuery no responses #

How to check whether an element exists with jQuery

When we 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.
Continue reading

Pin It on Pinterest