jQuery - 设置内容和属性
摘要:
通过 text()、html() 以及 val() 方法来设置内容:$("#btn1").click(function(){ $("#test1").text("Hello world!"); }); $("#btn2").click(function(){ $("#test2").html("<b 阅读全文
posted @ 2017-10-18 16:49
芸芸众生!
阅读(228)
评论(0)
推荐(0)
浙公网安备 33010602011771号