Rebinding events in jQuery after Ajax update (updatepanel)

后端 未结 9 2148
悲哀的现实
悲哀的现实 2020-11-27 10:15

I have several input and option elements on my page, each (well almost) have an event attached to update some text on the page once they change. I use jQuery which is really

9条回答
  •  野性不改
    2020-11-27 10:41

    Bind your events using jQuery's new 'live' method. It will bind events to all your present elements and all future ones too. Cha ching! :)

提交回复
热议问题