Affichage des articles dont le libellé est plugins. Afficher tous les articles
Affichage des articles dont le libellé est plugins. Afficher tous les articles
9/12/2010

jQuery AttributeObserver - Observe HTML elements attribute change

With jQuery AttributeObserver you can bind a callback that will be triggered when an element's attribute value change, and... that's it.


9/22/2009

$.bindExist - Check if a bind's type is specified on an element or not.

I've just published my first official (tiny) jQuery plugin: $.bindExist

Usage:
$('#myDiv').bindExist('click');//return false
$('#myDiv').bindExist('click.myNS');//return false

$('#myDiv').bind('click.myNS',function(){alert('Plop!');});

$('#myDiv').bindExist('click');//return true
$('#myDiv').bindExist('click.myNS');//return true


»
 
 
Made with on a hot august night from an airplane the 19th of March 2017.