<?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: Using InnerHTML correctly within IE and Firefox</title>
	<atom:link href="http://www.kenvillines.com/archives/69.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kenvillines.com/archives/69.html</link>
	<description>Web development, programming, e-commerce, graphic design, Life and more.</description>
	<lastBuildDate>Mon, 02 Feb 2009 18:20:49 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pritam Paul</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-25572</link>
		<dc:creator>Pritam Paul</dc:creator>
		<pubDate>Thu, 13 Mar 2008 14:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-25572</guid>
		<description>You are great, this worked for me. Even using to DOJO AJAX this worked well.</description>
		<content:encoded><![CDATA[<p>You are great, this worked for me. Even using to DOJO AJAX this worked well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rey</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-18877</link>
		<dc:creator>rey</dc:creator>
		<pubDate>Sat, 26 Jan 2008 14:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-18877</guid>
		<description>When I test this one on firefox and its OK, when I test it on IE and its not functional... Can anyone help me with this!? but when I test on the other computer it works on IE4+...

function GetXmlHttpObject(handler){
    var objXMLHttp=null
    if (window.XMLHttpRequest){
        objXMLHttp=new XMLHttpRequest()
    }else if (window.ActiveXObject){
        objXMLHttp=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;)
    }
    return objXMLHttp
}
function builderChanged(){
    if (xmlHttp.readyState==4 &#124;&#124; xmlHttp.readyState==&quot;complete&quot;){
        document.getElementById(&#039;vill&#039;).innerHTML= xmlHttp.responseText;
    }
}
function htmlDataBuilder(url, qStr){
    if (url.length==0){
        document.getElementById(&quot;vill&quot;).innerHTML=&quot;&quot;; 
        return;
    }
    xmlHttp=GetXmlHttpObject()
    if (xmlHttp==null){
        alert (&quot;Browser does not support HTTP Request&quot;);
        return;
    }

    url=url+&quot;?&quot;+qStr; 
    url=url+&quot;&amp;sid=&quot;+Math.random();
    xmlHttp.onreadystatechange=builderChanged;
    xmlHttp.open(&quot;GET&quot;,url,true) ;
    xmlHttp.send(null);
}</description>
		<content:encoded><![CDATA[<p>When I test this one on firefox and its OK, when I test it on IE and its not functional&#8230; Can anyone help me with this!? but when I test on the other computer it works on IE4+&#8230;</p>
<p>function GetXmlHttpObject(handler){<br />
    var objXMLHttp=null<br />
    if (window.XMLHttpRequest){<br />
        objXMLHttp=new XMLHttpRequest()<br />
    }else if (window.ActiveXObject){<br />
        objXMLHttp=new ActiveXObject(&#8221;Microsoft.XMLHTTP&#8221;)<br />
    }<br />
    return objXMLHttp<br />
}<br />
function builderChanged(){<br />
    if (xmlHttp.readyState==4 || xmlHttp.readyState==&#8221;complete&#8221;){<br />
        document.getElementById(&#8217;vill&#8217;).innerHTML= xmlHttp.responseText;<br />
    }<br />
}<br />
function htmlDataBuilder(url, qStr){<br />
    if (url.length==0){<br />
        document.getElementById(&#8221;vill&#8221;).innerHTML=&#8221;";<br />
        return;<br />
    }<br />
    xmlHttp=GetXmlHttpObject()<br />
    if (xmlHttp==null){<br />
        alert (&#8221;Browser does not support HTTP Request&#8221;);<br />
        return;<br />
    }</p>
<p>    url=url+&#8221;?&#8221;+qStr;<br />
    url=url+&#8221;&amp;sid=&#8221;+Math.random();<br />
    xmlHttp.onreadystatechange=builderChanged;<br />
    xmlHttp.open(&#8221;GET&#8221;,url,true) ;<br />
    xmlHttp.send(null);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bigtema</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-15001</link>
		<dc:creator>Bigtema</dc:creator>
		<pubDate>Sat, 22 Dec 2007 08:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-15001</guid>
		<description>Thank you! That helps me a lot. 

Best regards from Russia.</description>
		<content:encoded><![CDATA[<p>Thank you! That helps me a lot. </p>
<p>Best regards from Russia.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ManFree</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-3813</link>
		<dc:creator>ManFree</dc:creator>
		<pubDate>Thu, 12 Jul 2007 04:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-3813</guid>
		<description>Respond to the -&gt; &quot;Remove the XHTML tag by DW and you will get it working in Firefox.&quot; 

I have removed the XHTML tag ... but the innerHTML still not working in FireFox .... (it works in IE)</description>
		<content:encoded><![CDATA[<p>Respond to the -&gt; &#8220;Remove the XHTML tag by DW and you will get it working in Firefox.&#8221; </p>
<p>I have removed the XHTML tag &#8230; but the innerHTML still not working in FireFox &#8230;. (it works in IE)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean and Risa</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-2957</link>
		<dc:creator>Sean and Risa</dc:creator>
		<pubDate>Mon, 18 Jun 2007 20:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-2957</guid>
		<description>Ken,

Thank you for the tips. You saved us from the pitfall.

Regards,</description>
		<content:encoded><![CDATA[<p>Ken,</p>
<p>Thank you for the tips. You saved us from the pitfall.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkat</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-1878</link>
		<dc:creator>Venkat</dc:creator>
		<pubDate>Mon, 16 Apr 2007 07:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-1878</guid>
		<description>Thanks a Lot...</description>
		<content:encoded><![CDATA[<p>Thanks a Lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tinhvd</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-1748</link>
		<dc:creator>Tinhvd</dc:creator>
		<pubDate>Tue, 03 Apr 2007 19:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-1748</guid>
		<description>Hi all!
I have a problem!
Why using innerHTML in IE be reload page jsp, while firefox no!

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi all!<br />
I have a problem!<br />
Why using innerHTML in IE be reload page jsp, while firefox no!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krrcwl</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-1678</link>
		<dc:creator>krrcwl</dc:creator>
		<pubDate>Tue, 12 Sep 2006 09:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-1678</guid>
		<description>Ach, eventually I discovered it was a caching issue. Firefox wasn&#039;t doing a fresh reload with Command-Option-R, so it was still working from a broken version. Had to clear the cache explicitly. Strange.</description>
		<content:encoded><![CDATA[<p>Ach, eventually I discovered it was a caching issue. Firefox wasn&#8217;t doing a fresh reload with Command-Option-R, so it was still working from a broken version. Had to clear the cache explicitly. Strange.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krrcwl</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-1676</link>
		<dc:creator>krrcwl</dc:creator>
		<pubDate>Sun, 10 Sep 2006 21:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-1676</guid>
		<description>I&#039;ve come across a strange bug in Firefox; I&#039;m using the usual AJAX method to pull in some HTML to put into a Div, which contains two tables, the first of which displays fine, but the second doesn&#039;t. The DOM Inspector correctly shows the bounds of the second table, but all its the contents (some radio buttons and selects) are just not displayed.

I have been using Safari to test with and all is fine there. I haven&#039;t dared try it on IE yet!

If anyone has any ideas? ...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve come across a strange bug in Firefox; I&#8217;m using the usual AJAX method to pull in some HTML to put into a Div, which contains two tables, the first of which displays fine, but the second doesn&#8217;t. The DOM Inspector correctly shows the bounds of the second table, but all its the contents (some radio buttons and selects) are just not displayed.</p>
<p>I have been using Safari to test with and all is fine there. I haven&#8217;t dared try it on IE yet!</p>
<p>If anyone has any ideas? &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xprienced</title>
		<link>http://www.kenvillines.com/archives/69.html/comment-page-1#comment-1675</link>
		<dc:creator>xprienced</dc:creator>
		<pubDate>Fri, 08 Sep 2006 09:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.kenvillines.com/blog/?p=69#comment-1675</guid>
		<description>Hamish is correct . Remove the XHTML tag by DW and you will get it working in Firefox. It took my 3 hrs and then just a suggestion of Xhtml worked. 

Zindagi ROcks.</description>
		<content:encoded><![CDATA[<p>Hamish is correct . Remove the XHTML tag by DW and you will get it working in Firefox. It took my 3 hrs and then just a suggestion of Xhtml worked. </p>
<p>Zindagi ROcks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
