js替換html內容 js怎么給append的元素綁定事件?
js怎么給append的元素綁定事件?jqueryappend函數(shù)?append:向每個匹配的元素添加內容。例如:HTML代碼:<P>我想說:</P> jQuery代碼:$(“P”)。
js怎么給append的元素綁定事件?
jqueryappend函數(shù)?
append:向每個匹配的元素添加內容。例如:HTML代碼:<P>我想說:</P> jQuery代碼:$(“P”)。追加(“<B>hello</B>”)結果:<P>我想說:<B>hello</B></P>