<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Refresh/reload an external js file?]]></title>
		<link>http://railsforum.com/viewtopic.php?id=40695</link>
		<description><![CDATA[The most recent posts in Refresh/reload an external js file?.]]></description>
		<lastBuildDate>Thu, 02 Sep 2010 02:34:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Refresh/reload an external js file?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=130274#p130274</link>
			<description><![CDATA[<p>Scratch that, figured out a solution. I was using content_for to load the script file into the head tag. Instead i created a div with an id, and put the script tag inside there, inside the body. Then I used javascript to create a new script tag with the source attribute set, and set the innerhtml of that div to the new script tag.</p>]]></description>
			<author><![CDATA[dummy@example.com (agm_ultimatex)]]></author>
			<pubDate>Thu, 02 Sep 2010 02:34:22 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=130274#p130274</guid>
		</item>
		<item>
			<title><![CDATA[Refresh/reload an external js file?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=130272#p130272</link>
			<description><![CDATA[<p>My rails app currently writes js code to a file. I have button to press reload. I could have it refresh the page, but id rather it just reload the js file. Is there a way i can refresh the current tag? I know i could create a new one with the src file path, but id prefer not to keep appending script tags.</p><p>Ideas?</p>]]></description>
			<author><![CDATA[dummy@example.com (agm_ultimatex)]]></author>
			<pubDate>Thu, 02 Sep 2010 02:22:13 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=130272#p130272</guid>
		</item>
	</channel>
</rss>
