With jQuery AttributeObserver you can bind a callback that will be triggered when an element's attribute value change, and... that's it.
Affichage des articles dont le libellé est plugins. Afficher tous les articles
Affichage des articles dont le libellé est plugins. Afficher tous les articles
$.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:
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