temporal unbind of event


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Temporal Unbind of Object
  2. temp_unbind = function(_obj, _event, _func,_delay){
  3. $(_obj).unbind(_event,_func);
  4. _.delay(function(_obj, _event){
  5. $(_obj).bind(_event, _func)
  6. }, _delay, _obj, _event, _func)
  7. }
  8.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.