Posted By

omerta83 on 07/08/10


Tagged

javascript jquery


Versions (?)

Creating your own selectors for plugins


 / Published in: JavaScript
 

  1. jQuery.expr[":"].myplugin = function(elem) {
  2. return !!jQuery.data("myplugin");
  3. };
  4.  

Report this snippet  

You need to login to post a comment.