|
//最常用的方式$(document).ready(function(){ alert($("#ready1").html());});$(function(){ alert($("#ready1").html());});jQuery(document).ready(function(){ alert($("#ready1").html());});jQuery(function($){ alert($("#ready1").html());}); <div id="ready1">document is ready 1</div> |
|