English 中文(简体)
是否有任何事件表明该网页的正体已经装满?
原标题:Is there any event to say the body of the page has been loaded?

我想知道,是否有任何事件证实整页已经装满,没有使用JQuery的任何错误

www.un.org/Depts/DGACM/index_spanish.htm 没有任何错误: 我指的是,如果一些js或cs的档案丢失,那就会出现错误。

最佳回答
$(document).ready(function(){
    //the DOM is ready for manipulation

});

$(document).load(function(){
   //the DOM is ready and external resources have been downloaded.
   //this may not always fire due to failed requests for external resources.
});
问题回答

没有人能够确保页上出现某些错误。 视浏览器而定,你可能能够使用某些特定亚体,如火法英的灭火药,但没有标准的方法。

如果出现错误,你就是指像辛加税错误一样的任何虚写错误

错误可能在内部发生,但低于一种情况确保了所有东西都包含图形。

$(window).load(function () {
  // run code
});




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签