jquery赋值 $("#test1").text("Hello world!"); $("#test2").html("<b>Hello world!</b>"); $("#test3").val("Dolly Duck");