阅读背景:

Javascript不适用于jquery的load(),prepend()或append()函数添加的元素

来源:互联网 

I have a comment system where a user submits a comment, the comment is processed, then the HTML for the comment is returned. jquery then adds that retrieved HTML to the comment system. that whole system works, but the comment buttons that requir javascript do not work unless I refresh the page. How do make my javascript work on elements added through load, prepend, or append?I have a comment system where a user submits a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: