Recently I had a problem when i needed to check wheter given DOM element have some attribute. JQuery does not supply us with any function that would have desired behaviour. So I created my own plugin that does that.
The script extends JQuery by adding 2 new functions :
Names are pretty straightforward. As example of functionality you can do something like this:
The result will be true.