$(document).ready(function(){
// 向div中添加内容
$('div').html('
Text added to div
');
// 向每个div中添加内容
$('div').each(function(){
$(this).html('
Text added to div
');
});
// 隐藏div
$('div').hide();
//显示div
$('div').show();
// 替换div中的文本
$('div').text('This is the new text');
});