<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: $(document).ready vs. $(window).load</title>
	<atom:link href="http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/feed/" rel="self" type="application/rss+xml" />
	<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/</link>
	<description>A blog about software development and Ruby on Rails</description>
	<lastBuildDate>Fri, 24 May 2013 16:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: jQuery&#8217;s $(document).ready() in Webkit &#124; Molten Brew</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-510</link>
		<dc:creator><![CDATA[jQuery&#8217;s $(document).ready() in Webkit &#124; Molten Brew]]></dc:creator>
		<pubDate>Sat, 09 Feb 2013 03:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-510</guid>
		<description><![CDATA[[...] $(document).ready vs. $(window).load &#124; 4 Lines of Code → [...]]]></description>
		<content:encoded><![CDATA[<p>[...] $(document).ready vs. $(window).load | 4 Lines of Code → [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery DOM ready handlers &#124; RexBlog</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-457</link>
		<dc:creator><![CDATA[jQuery DOM ready handlers &#124; RexBlog]]></dc:creator>
		<pubDate>Thu, 03 Jan 2013 23:51:09 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-457</guid>
		<description><![CDATA[[...] if you want to wait for both the DOM and complete page (including all frames, objects and images) to be loaded, you can [...]]]></description>
		<content:encoded><![CDATA[<p>[...] if you want to wait for both the DOM and complete page (including all frames, objects and images) to be loaded, you can [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Lobe</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-393</link>
		<dc:creator><![CDATA[Josh Lobe]]></dc:creator>
		<pubDate>Tue, 04 Dec 2012 06:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-393</guid>
		<description><![CDATA[Thank you!! 

I&#039;m still a newbie learning javascript.  I had a page loading animation I wanted to display on a page while it loaded in the DOM.  I was using (window).load and it wasn&#039;t firing until too late.

After Googling, I found your tutorial.  Changing the (window).load method to the $(document).ready(function() { method got it to fire exactly when I needed.

Thanks bunches!!]]></description>
		<content:encoded><![CDATA[<p>Thank you!! </p>
<p>I&#8217;m still a newbie learning javascript.  I had a page loading animation I wanted to display on a page while it loaded in the DOM.  I was using (window).load and it wasn&#8217;t firing until too late.</p>
<p>After Googling, I found your tutorial.  Changing the (window).load method to the $(document).ready(function() { method got it to fire exactly when I needed.</p>
<p>Thanks bunches!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tuan Jinn Nguyen</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-389</link>
		<dc:creator><![CDATA[Tuan Jinn Nguyen]]></dc:creator>
		<pubDate>Thu, 29 Nov 2012 09:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-389</guid>
		<description><![CDATA[Best post ever related to ready, and dom loading issues. My case is, we have a heavy external (different domain) iframe in which the rendering was done together with some extra js script (show hide, element), we have no control of it. 

After fixing the cross domain issues, the ready() gives us incorrect height EVERYTIME. Logically, because the document is ready(), but then there are extra js function that changes what to display. load() function solved it]]></description>
		<content:encoded><![CDATA[<p>Best post ever related to ready, and dom loading issues. My case is, we have a heavy external (different domain) iframe in which the rendering was done together with some extra js script (show hide, element), we have no control of it. </p>
<p>After fixing the cross domain issues, the ready() gives us incorrect height EVERYTIME. Logically, because the document is ready(), but then there are extra js function that changes what to display. load() function solved it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sagar</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-388</link>
		<dc:creator><![CDATA[Sagar]]></dc:creator>
		<pubDate>Thu, 22 Nov 2012 12:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-388</guid>
		<description><![CDATA[how can i set image when the page is loading. After page loading the image will hide. What is the syntax for that?]]></description>
		<content:encoded><![CDATA[<p>how can i set image when the page is loading. After page loading the image will hide. What is the syntax for that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: $(document).ready vs. $(window).load &#124; ispencerfeng</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-384</link>
		<dc:creator><![CDATA[$(document).ready vs. $(window).load &#124; ispencerfeng]]></dc:creator>
		<pubDate>Sat, 10 Nov 2012 09:54:13 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-384</guid>
		<description><![CDATA[[...] From: http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] From: http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/ [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-380</link>
		<dc:creator><![CDATA[Tushar]]></dc:creator>
		<pubDate>Thu, 27 Sep 2012 16:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-380</guid>
		<description><![CDATA[Hello Every One,

I want to hide the button as soon as dom is loaded and button is present in the div element of Page

I am sending the approaches which I have tried... 

var j$ = jQuery.noConflict();  
j$(window).load( function(){  
alert(j$(&quot;.relatedProcessHistory&quot;).length); -------------------------------&gt; 0
alert(j$(&quot;input[value=&#039;Submit for Approval&#039;]&quot;).length); -------------------------&gt; 0
		j$(&quot;input[value=&#039;Submit for Approval&#039;]&quot;).hide(); 
alert(&#039;Hii...&#039;); -------------------&gt; hi
	} ); 

var j$ = jQuery.noConflict();  
j$(document).ready( function(){  
alert(j$(&quot;.relatedProcessHistory&quot;).length); -------------------------------&gt; 0
alert(j$(&quot;input[value=&#039;Submit for Approval&#039;]&quot;).length); -------------------------&gt; 0
		j$(&quot;input[value=&#039;Submit for Approval&#039;]&quot;).hide(); 
alert(&#039;Hii...&#039;); -------------------&gt; hi
	} );]]></description>
		<content:encoded><![CDATA[<p>Hello Every One,</p>
<p>I want to hide the button as soon as dom is loaded and button is present in the div element of Page</p>
<p>I am sending the approaches which I have tried&#8230; </p>
<p>var j$ = jQuery.noConflict();<br />
j$(window).load( function(){<br />
alert(j$(&#8220;.relatedProcessHistory&#8221;).length); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; 0<br />
alert(j$(&#8220;input[value='Submit for Approval']&#8220;).length); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; 0<br />
		j$(&#8220;input[value='Submit for Approval']&#8220;).hide();<br />
alert(&#8216;Hii&#8230;&#8217;); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; hi<br />
	} ); </p>
<p>var j$ = jQuery.noConflict();<br />
j$(document).ready( function(){<br />
alert(j$(&#8220;.relatedProcessHistory&#8221;).length); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; 0<br />
alert(j$(&#8220;input[value='Submit for Approval']&#8220;).length); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; 0<br />
		j$(&#8220;input[value='Submit for Approval']&#8220;).hide();<br />
alert(&#8216;Hii&#8230;&#8217;); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt; hi<br />
	} );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: profesjonalne strony www gdynia</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-378</link>
		<dc:creator><![CDATA[profesjonalne strony www gdynia]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 12:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-378</guid>
		<description><![CDATA[Nice explanation of difference. I always used document.ready(), bu sometimes window.load() is better]]></description>
		<content:encoded><![CDATA[<p>Nice explanation of difference. I always used document.ready(), bu sometimes window.load() is better</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr.Ven</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-377</link>
		<dc:creator><![CDATA[Mr.Ven]]></dc:creator>
		<pubDate>Thu, 02 Aug 2012 03:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-377</guid>
		<description><![CDATA[Thanks for the crispy post, i decided to use ready() instead of load() and now my script runs quicker than before.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the crispy post, i decided to use ready() instead of load() and now my script runs quicker than before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: $(document).ready vs. $(window).load &#124; SZemtsov Technical Roll</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-374</link>
		<dc:creator><![CDATA[$(document).ready vs. $(window).load &#124; SZemtsov Technical Roll]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 00:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-374</guid>
		<description><![CDATA[[...] documentready-vs-windowload/. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] documentready-vs-windowload/. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TeamToolTip &#8211; Jquey Plugin &#124; Islam Al-Zatary</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-367</link>
		<dc:creator><![CDATA[TeamToolTip &#8211; Jquey Plugin &#124; Islam Al-Zatary]]></dc:creator>
		<pubDate>Sat, 09 Jun 2012 14:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-367</guid>
		<description><![CDATA[[...] and to run the plugin, you must to put it in the load() function to ensure the image and DOM of page is fully loaded, if we use (document).ready() function, the plugin will not work for more info about this approach visit the following link: $(document).ready vs. $(window).load [...]]]></description>
		<content:encoded><![CDATA[<p>[...] and to run the plugin, you must to put it in the load() function to ensure the image and DOM of page is fully loaded, if we use (document).ready() function, the plugin will not work for more info about this approach visit the following link: $(document).ready vs. $(window).load [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Use Onload or ready? &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-363</link>
		<dc:creator><![CDATA[Use Onload or ready? &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes]]></dc:creator>
		<pubDate>Wed, 06 Jun 2012 03:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-363</guid>
		<description><![CDATA[[...] $(document).ready vs. $(window).load [...]]]></description>
		<content:encoded><![CDATA[<p>[...] $(document).ready vs. $(window).load [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Moore! &#187; Calling GWT code from javascript</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-345</link>
		<dc:creator><![CDATA[Dan Moore! &#187; Calling GWT code from javascript]]></dc:creator>
		<pubDate>Sun, 26 Feb 2012 01:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-345</guid>
		<description><![CDATA[[...] Make sure your jquery method is run in $(window).load(), not $(document).ready(). If you use the latter, your GWT code will not have executed and exported the javascript method to the window object. More on that. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Make sure your jquery method is run in $(window).load(), not $(document).ready(). If you use the latter, your GWT code will not have executed and exported the javascript method to the window object. More on that. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Munted</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-343</link>
		<dc:creator><![CDATA[Munted]]></dc:creator>
		<pubDate>Tue, 21 Feb 2012 15:26:12 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-343</guid>
		<description><![CDATA[You could also use
$(“#somedi”).click(myfun);]]></description>
		<content:encoded><![CDATA[<p>You could also use<br />
$(“#somedi”).click(myfun);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashley</title>
		<link>http://4loc.wordpress.com/2009/04/28/documentready-vs-windowload/#comment-303</link>
		<dc:creator><![CDATA[Ashley]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 09:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://4loc.wordpress.com/?p=628#comment-303</guid>
		<description><![CDATA[Turn off the images in your css, add a .js class to your html tag and then reference a turn on css class reference in your css for classes that have .js so will be ready once your javascript has loaded and wont display what you don&#039;t want before hand.]]></description>
		<content:encoded><![CDATA[<p>Turn off the images in your css, add a .js class to your html tag and then reference a turn on css class reference in your css for classes that have .js so will be ready once your javascript has loaded and wont display what you don&#8217;t want before hand.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
