On Mar 15, 2007, at 4:45 , Kush Murod wrote:
> $('.buttons').click... attached an event
>
> at some stage I've replaced one of many '.buttons' using $.get/$.post
> via html(newButton)
> new button does not have click event attached anymore
>
> what's the best way to keep or re-attach event(s)
You just missed a substantial thread on this topic. You can view the
responses, which should give you some good ideas, in the list archives:
http://jquery.com/pipermail/discuss_jquery.com/2007-March/027029.html
Hope this helps!
--
Jonathan Chaffer
Technology Officer, Structure Interactive
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/