jquery .live on load event

前端 未结 9 1303
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 01:06

I need a way to use the jquery .live() function to act on elements that are loaded via ajax.

For instance a div is loaded via ajax .load()<

9条回答
  •  误落风尘
    2020-12-06 01:51

    .live does not work with ready end load event as stated in jquery 1.3 documentation you cannot use load and ready event with live visit http://api.jquery.com/live/ for more information,

提交回复
热议问题