javascript jquery 修改指定标签中的内容

javascript jquery 修改指定标签中的内容

$("#test1").text("Hello world!");
document.getElementById("test1").innerHTML="New text!";

猜你喜欢

转载自www.cnblogs.com/GetcharZp/p/11711782.html