script>
内容 内容 内容 内容
$(function () { $('div').html('xxxxx'); }); 通过id获取只能得到一个
$(function () { $('[id=div]').html('xxxxx'); }); script>