unsure about .on() method

后端 未结 2 1087
面向向阳花
面向向阳花 2021-01-13 06:13

I was using the $.click() method for triggering some events. But then I needed to set some events for some HTML elements before the elements were declared. Let\

2条回答
  •  醉梦人生
    2021-01-13 06:50

    Use jQuery.live method to attach an event handler for all elements which match the current selector, now and in the future

提交回复
热议问题