Posted By

Pjotor on 06/11/13


Tagged

css jquery selector


Versions (?)

jQuery selector extention


 / Published in: JavaScript
 

URL: pjotor.com

Just a little skeleton for selector extentions in jQuery/sizzler

  1. jQuery.extend(
  2. jQuery.expr[':'],
  3. {
  4. 'isSet': function (o, i, args) { //Stuff that's supplied
  5. return $(o).val().length ? o : false;
  6. }
  7. }
  8. );

Report this snippet  

You need to login to post a comment.