且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Javascript通用方式来了解添加的新元素

更新时间:2022-12-06 11:57:56

你有什么理由想知道吗?如果您希望将事件处理程序添加到新元素,则可以使用jQuery的实时功能。

Is there a reason you want to know? If the reason is you want to add event handlers to new elements, you could use the "Live" functionality of jQuery instead.