Posted By

omerta83 on 07/08/10


Tagged

javascript jquery


Versions (?)

How to namespace your event handlers


 / Published in: JavaScript
 

  1. $("div").bind("click.plugin", someFn);
  2. $("div").bind("focus.plugin", otherFn);
  3. $("div").unbind(".plugin");
  4.  

Report this snippet  

You need to login to post a comment.