On Thu, Sep 17, 2009 at 9:02 AM, Ben <lbw...@gmail.com> wrote: > > My question is if i used jquery post method to change some div > content, than this new div won't have mouseover and mouseout affect > anymore, is there anyway to achieve it. Is that needed to trigger > ready function again? >
Have a look at the live() method: http://docs.jquery.com/Events/live Another question is can anyone teach me how to add click and dblclick > event to the same div, because if i add both of them then it won't > trigger dblckick event.Thanks a lot. :-) > Dunno this one, but would be interested in hearing if it can be done (and how) :) -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success.