<?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"
	>
<channel>
	<title>Comments on: Submitting a form with target set to a script-generated iframe on IE</title>
	<atom:link href="http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/</link>
	<description>All computers should be destroyed. And flies too.</description>
	<pubDate>Fri, 21 Nov 2008 03:11:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Dan</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-805</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 19 Nov 2008 16:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-805</guid>
		<description>Thanks, 

You are an actual genius, I'm so glad it came near the top in my google - ing.

Dan</description>
		<content:encoded><![CDATA[<p>Thanks, </p>
<p>You are an actual genius, I&#8217;m so glad it came near the top in my google - ing.</p>
<p>Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating an asynchronous upload extender &#171; Update Panel .NET</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-730</link>
		<dc:creator>Creating an asynchronous upload extender &#171; Update Panel .NET</dc:creator>
		<pubDate>Sun, 12 Oct 2008 17:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-730</guid>
		<description>[...] http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/" rel="nofollow">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cmdr. Gabe E.</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-698</link>
		<dc:creator>Cmdr. Gabe E.</dc:creator>
		<pubDate>Mon, 04 Aug 2008 01:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-698</guid>
		<description>Thank you very much for sharing this! :D
I've gone around in circles trying to solve this problem, and your solution nailed it :D!
Awesome!  Thanks again :D!</description>
		<content:encoded><![CDATA[<p>Thank you very much for sharing this! <img src='http://terminalapp.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
I&#8217;ve gone around in circles trying to solve this problem, and your solution nailed it :D!<br />
Awesome!  Thanks again :D!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameera</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-697</link>
		<dc:creator>sameera</dc:creator>
		<pubDate>Fri, 01 Aug 2008 14:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-697</guid>
		<description>Thank you ever so much!!!! i've been breaking my head for over 4 hours on this!!!!

This is why i love the web too :-)</description>
		<content:encoded><![CDATA[<p>Thank you ever so much!!!! i&#8217;ve been breaking my head for over 4 hours on this!!!!</p>
<p>This is why i love the web too <img src='http://terminalapp.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-675</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 13 Jun 2008 21:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-675</guid>
		<description>I just discovered the same thing is true for dynamically-created forms. For example, the following works in Firefox but not IE 7 (or presumably 6):

var form = document.createElement('form');
form.enctype = 'multipart/form-data';


instead, in IE you must do

form = document.createElement('');

and you should be fine.</description>
		<content:encoded><![CDATA[<p>I just discovered the same thing is true for dynamically-created forms. For example, the following works in Firefox but not IE 7 (or presumably 6):</p>
<p>var form = document.createElement(&#8217;form&#8217;);<br />
form.enctype = &#8216;multipart/form-data&#8217;;</p>
<p>instead, in IE you must do</p>
<p>form = document.createElement(&#8221;);</p>
<p>and you should be fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-674</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 13 Jun 2008 21:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-674</guid>
		<description>I spent a few hours searching for this, this saved my rear. Thanks.

Also, it's worth mentioning that IE has the same problem with dynamically assigning a function to onload(). So if you you want to do an onload() handler for your iframe (when the file is finished uploading, for example) you need to do:

iframe = document.createElement('');

iframe.onloadHack = function()
{
  // do whatever
}

Hope this helps anybody else who was wondering.

Thanks again!</description>
		<content:encoded><![CDATA[<p>I spent a few hours searching for this, this saved my rear. Thanks.</p>
<p>Also, it&#8217;s worth mentioning that IE has the same problem with dynamically assigning a function to onload(). So if you you want to do an onload() handler for your iframe (when the file is finished uploading, for example) you need to do:</p>
<p>iframe = document.createElement(&#8221;);</p>
<p>iframe.onloadHack = function()<br />
{<br />
  // do whatever<br />
}</p>
<p>Hope this helps anybody else who was wondering.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-672</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 29 May 2008 23:16:31 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-672</guid>
		<description>To echo everyone else, thank you! This was exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>To echo everyone else, thank you! This was exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claus Conrad</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-661</link>
		<dc:creator>Claus Conrad</dc:creator>
		<pubDate>Thu, 15 May 2008 20:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-661</guid>
		<description>Thanks a lot for your entry! I remember having read about the same bug in IE for dynamically created INPUT radio buttons a long time ago, but when I experienced the same behavior with an IFRAME today as you it didn't strike me that I could use the same workaround again (mostly because setting "name" attribute on other tags in IE has worked for me since reading the other article years ago). Building a product that appears faster by forcing competitors to catch more "exceptions" is just so typical for Microsoft marketing :S.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for your entry! I remember having read about the same bug in IE for dynamically created INPUT radio buttons a long time ago, but when I experienced the same behavior with an IFRAME today as you it didn&#8217;t strike me that I could use the same workaround again (mostly because setting &#8220;name&#8221; attribute on other tags in IE has worked for me since reading the other article years ago). Building a product that appears faster by forcing competitors to catch more &#8220;exceptions&#8221; is just so typical for Microsoft marketing :S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J.P.</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-660</link>
		<dc:creator>J.P.</dc:creator>
		<pubDate>Thu, 15 May 2008 15:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-660</guid>
		<description>You just ended several hours of frustration! Thank you so much!</description>
		<content:encoded><![CDATA[<p>You just ended several hours of frustration! Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L.K.</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-611</link>
		<dc:creator>L.K.</dc:creator>
		<pubDate>Thu, 20 Mar 2008 19:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-611</guid>
		<description>Thank you SO much,  you saved me a lot of time.  You have a new regular reader to your blog now.</description>
		<content:encoded><![CDATA[<p>Thank you SO much,  you saved me a lot of time.  You have a new regular reader to your blog now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry A. Soshnikov</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-609</link>
		<dc:creator>Dmitry A. Soshnikov</dc:creator>
		<pubDate>Fri, 07 Mar 2008 12:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-609</guid>
		<description>Thx so much, yesterday i tried to fix this ugly IE bug myself (thinkin' - what a hell is going on here?!), today - went to google and found your article =) Thx again - it fixed now )</description>
		<content:encoded><![CDATA[<p>Thx so much, yesterday i tried to fix this ugly IE bug myself (thinkin&#8217; - what a hell is going on here?!), today - went to google and found your article =) Thx again - it fixed now )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-585</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Thu, 29 Nov 2007 11:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://terminalapp.net/submitting-a-form-with-target-set-to-a-script-generated-iframe-on-ie/#comment-585</guid>
		<description>THANKS SO MUCH!!!

I was facing that "strange" IE behaviour
and before going crazy I just "googled" for it and... here I am!

WTF is exactly what went through my mind reading your solution! :)

Thanks again!</description>
		<content:encoded><![CDATA[<p>THANKS SO MUCH!!!</p>
<p>I was facing that &#8220;strange&#8221; IE behaviour<br />
and before going crazy I just &#8220;googled&#8221; for it and&#8230; here I am!</p>
<p>WTF is exactly what went through my mind reading your solution! <img src='http://terminalapp.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
