jQuery TriggerHandler doesn't trigger keyup event set via live

Posted by Beck on Stack Overflow See other posts from Stack Overflow or by Beck
Published on 2010-05-03T16:37:15Z Indexed on 2010/05/03 16:38 UTC
Read the original article Hit count: 285

Filed under:

Why i can't trigget handler via triggerHandler if it's was bound via live?

For example

  form.find('#code').live('change keyup',function(){
   process_code($(this));   
  });

Startups after window load:

   /* Triggers */
   if(checkCookie('banner_ready_code'))
   {
    $('#form').find('#code').triggerHandler('keyup');
   }

Nothing happens...

If i'm binding simply by .change or .keyup, triggerHandler is working properly as intended.

If it's bug, where to report it. Too lazy :) If not, please explain. :)

© Stack Overflow or respective owner

Related posts about jQuery