<?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/"
		>
<channel>
	<title>Comments on: Reloading Images Using JavaScript</title>
	<atom:link href="http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/</link>
	<description>Web development blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:03:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kevin Deprez</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1946</link>
		<dc:creator>Kevin Deprez</dc:creator>
		<pubDate>Tue, 07 Feb 2012 10:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1946</guid>
		<description>Jquery version

$.fn.reloadSrc = function(){
    var $this = $(this);
    var src = $this.attr(&quot;src&quot;);
    if(src != undefined){
        $this.attr(&quot;src&quot;, src + (src.indexOf(&#039;?&#039;) &gt;= 0 ? &quot;&amp;&quot; : &quot;?&quot;) + &quot;tq=&quot; + (new Date()).getTime());
    }
}</description>
		<content:encoded><![CDATA[<p>Jquery version</p>
<p>$.fn.reloadSrc = function(){<br />
    var $this = $(this);<br />
    var src = $this.attr(&#8220;src&#8221;);<br />
    if(src != undefined){<br />
        $this.attr(&#8220;src&#8221;, src + (src.indexOf(&#8216;?&#8217;) &gt;= 0 ? &#8220;&amp;&#8221; : &#8220;?&#8221;) + &#8220;tq=&#8221; + (new Date()).getTime());<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Ewering</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1941</link>
		<dc:creator>Alexander Ewering</dc:creator>
		<pubDate>Mon, 23 Jan 2012 12:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1941</guid>
		<description>Nice hint, though very verbose code.

Optimized version:

document.getElementById(id).src = document.getElementById(id).src.split(&#039;?&#039;)[0]+&#039;?&#039;+(new Date().getTime());

(The v= isn&#039;t necessary as the parameter is not used anyway)</description>
		<content:encoded><![CDATA[<p>Nice hint, though very verbose code.</p>
<p>Optimized version:</p>
<p>document.getElementById(id).src = document.getElementById(id).src.split(&#8216;?&#8217;)[0]+&#8217;?'+(new Date().getTime());</p>
<p>(The v= isn&#8217;t necessary as the parameter is not used anyway)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1936</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Sun, 15 Jan 2012 06:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1936</guid>
		<description>@the JQuery fanboy - without Javascript there would be no JQuery.</description>
		<content:encoded><![CDATA[<p>@the JQuery fanboy &#8211; without Javascript there would be no JQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xakir</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1928</link>
		<dc:creator>Xakir</dc:creator>
		<pubDate>Thu, 08 Dec 2011 11:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1928</guid>
		<description>Thanks a lot… helped me alot…</description>
		<content:encoded><![CDATA[<p>Thanks a lot… helped me alot…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alaa</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1909</link>
		<dc:creator>alaa</dc:creator>
		<pubDate>Wed, 02 Nov 2011 20:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1909</guid>
		<description>THANKS</description>
		<content:encoded><![CDATA[<p>THANKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAVAGENIOUS</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1893</link>
		<dc:creator>JAVAGENIOUS</dc:creator>
		<pubDate>Fri, 30 Sep 2011 09:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1893</guid>
		<description>Hello.

Thanks for the information. It was useful to me in learning PHP</description>
		<content:encoded><![CDATA[<p>Hello.</p>
<p>Thanks for the information. It was useful to me in learning PHP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAVAGENIOUS</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1892</link>
		<dc:creator>JAVAGENIOUS</dc:creator>
		<pubDate>Mon, 26 Sep 2011 10:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1892</guid>
		<description>Thanks</description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viswa</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1868</link>
		<dc:creator>viswa</dc:creator>
		<pubDate>Sun, 28 Aug 2011 17:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1868</guid>
		<description>superb getTime() idea thanks</description>
		<content:encoded><![CDATA[<p>superb getTime() idea thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ales</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1862</link>
		<dc:creator>Ales</dc:creator>
		<pubDate>Wed, 24 Aug 2011 06:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1862</guid>
		<description>Great method, very simple and intelligent.
Thanks!</description>
		<content:encoded><![CDATA[<p>Great method, very simple and intelligent.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://www.ultramegatech.com/2008/12/reloading-images-using-javascript/comment-page-1/#comment-1850</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Thu, 04 Aug 2011 11:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=155#comment-1850</guid>
		<description>Thanks a lot... helped me alot... very nice solution...</description>
		<content:encoded><![CDATA[<p>Thanks a lot&#8230; helped me alot&#8230; very nice solution&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

