JQuery——Html代碼獲取修改等操作

JQuery中HTML代碼操作 1. 獲取或者修改標籤中的HTML代碼 2. html()和text()的區別 <script type="text/javascript"> $(function(){ var html_txt=$("div.left").html(); alert(html_txt); $("input[type=button]").click(functi
相關文章
相關標籤/搜索