using jQuery .live with .bind
Posted
by
Aninemity
on Stack Overflow
See other posts from Stack Overflow
or by Aninemity
Published on 2010-12-31T01:44:13Z
Indexed on
2010/12/31
1:54 UTC
Read the original article
Hit count: 234
jQuery
|jquery-live
okay, I understand the basics of jQuery, and I know that in some instances I've had to use .live('click',function(){...}); instead of .click(function(){...}); to get the method to fire correctly.
the method I'm currently looking at is:
$('#title').bind('keyup', function(){...});
This works great, except because it's in a bit of code that isn't called until another action is preformed, I'd need to use .live() as described above.
Problem is, I don't know how to format this one to work using the .live() method instead of .bind() as shown above. Can someone please help?
Thanks in advance!
© Stack Overflow or respective owner