Have you tried using live instead of bind? http://docs.jquery.com/Events/live#typefn
On Tue, Jul 7, 2009 at 9:15 PM, Dennis Jacobfeuerborn < djacobfeuerb...@gmail.com> wrote: > > http://pastebin.com/f6990228d > > In this code clicking on the text should change it between "STATE1" > and "STATE2" but doesn't. It actually does switch to STATE1 again but > due to a spurious "click" event immediately switches back to STATE2 so > that the switch can't be really seen. Uncommenting the commented > javascript line and commenting the one above it no longer uses html() > and show the correct behavior. > > Is this a bug or am I doing something fundamentally wrong here? > > Regards, > Dennis > > PS: I filed a bug here: http://dev.jquery.com/ticket/4867 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---