javascript jquery 修改指定标签中的内容 javascript jquery 修改指定标签中的内容 $("#test1").text("Hello world!"); document.getElementById("test1").innerHTML="New text!";