<?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: document.getElementById().innerHTML + IE7 can cause problems</title>
	<atom:link href="http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/</link>
	<description>Thoughts on Web Design and Front-end Coding. Served up Monthly by Jamis Charles</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:25:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kerry Russo</title>
		<link>http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/comment-page-1/#comment-1914</link>
		<dc:creator>Kerry Russo</dc:creator>
		<pubDate>Fri, 05 Jun 2009 15:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=29#comment-1914</guid>
		<description>I found this explanation on a forum:

&quot;You can not write a partial table using innerhtml with IE.
Use proper DOM methods or write a full (valid) table.
http://support.microsoft.com/kb/239832&quot;

source: http://www.webdeveloper.com/forum/showthread.php?t=178849</description>
		<content:encoded><![CDATA[<p>I found this explanation on a forum:</p>
<p>&#8220;You can not write a partial table using innerhtml with IE.<br />
Use proper DOM methods or write a full (valid) table.<br />
<a href="http://support.microsoft.com/kb/239832" rel="nofollow">http://support.microsoft.com/kb/239832</a>&#8221;</p>
<p>source: <a href="http://www.webdeveloper.com/forum/showthread.php?t=178849" rel="nofollow">http://www.webdeveloper.com/forum/showthread.php?t=178849</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/comment-page-1/#comment-1328</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Thu, 04 Dec 2008 19:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=29#comment-1328</guid>
		<description>I just came across this error and found your page on a search.  Baffled because ive been throwing crap around in innerHTML for months and never seen this problem before.  Based on what I found with this problem there is something you should consider that is probably the real source of the problem.

check the surrounding html of the object you are manipulating and/or the object it is attached to.  there is a very good chance that you have malformed html right nearby either of these objects.  the browser may not care on initial render, but when new html is being pulled in there seems to be some extra validation requirement going on with ie.  for instance a div tag improperly nested in a table .  trying to feel another  element into that div via innerHTML would cause the same error.  but move the div over into the  properly would allow you to continue.

Your work around tricks IE into ignoring the surrounding html when making the assignment because it doesnt know where it will be attached yet.</description>
		<content:encoded><![CDATA[<p>I just came across this error and found your page on a search.  Baffled because ive been throwing crap around in innerHTML for months and never seen this problem before.  Based on what I found with this problem there is something you should consider that is probably the real source of the problem.</p>
<p>check the surrounding html of the object you are manipulating and/or the object it is attached to.  there is a very good chance that you have malformed html right nearby either of these objects.  the browser may not care on initial render, but when new html is being pulled in there seems to be some extra validation requirement going on with ie.  for instance a div tag improperly nested in a table .  trying to feel another  element into that div via innerHTML would cause the same error.  but move the div over into the  properly would allow you to continue.</p>
<p>Your work around tricks IE into ignoring the surrounding html when making the assignment because it doesnt know where it will be attached yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamis</title>
		<link>http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/comment-page-1/#comment-1263</link>
		<dc:creator>jamis</dc:creator>
		<pubDate>Mon, 30 Jun 2008 16:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=29#comment-1263</guid>
		<description>Jeremy: You&#039;re absolutely right. Thanks for pointing that out. I fixed it.</description>
		<content:encoded><![CDATA[<p>Jeremy: You&#8217;re absolutely right. Thanks for pointing that out. I fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Daley</title>
		<link>http://www.jamischarles.com/blog/documentgetelementbyidinnerhtml-ie7-can-cause-problems/comment-page-1/#comment-1262</link>
		<dc:creator>Jeremy Daley</dc:creator>
		<pubDate>Mon, 30 Jun 2008 03:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=29#comment-1262</guid>
		<description>that&#039;s strange... i&#039;m gonna guess you meant to put that all in a  tag and not a  tag, but then again, i&#039;ve never actually tried it.</description>
		<content:encoded><![CDATA[<p>that&#8217;s strange&#8230; i&#8217;m gonna guess you meant to put that all in a  tag and not a  tag, but then again, i&#8217;ve never actually tried it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

