是否有一个简洁的方法来添加jQuery而不是
$("#elm").html($("#elm").html() + "some text");
Run Code Online (Sandbox Code Playgroud)
只做$("#elm").html(+= "some text")或类似的事情真是太好了......
$('#elm').append('some text');
Run Code Online (Sandbox Code Playgroud)
http://docs.jquery.com/Manipulation/append有关使用append的更多信息