/ Published in: Other
Expand |
Embed | Plain Text
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)); } }
You need to login to post a comment.
