/ Published in: Other

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
jQuery.delegate = function(rules) { return function(e) { var target = $(e.target); for (var selector in rules) if (target.is(selector)) return rules[selector].apply(this, $.makeArray(arguments)); } }
Comments
