<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mgthantzin.com/blog &#187; innertext</title>
	<atom:link href="http://mgthantzin.com/blog/tag/innertext/feed/" rel="self" type="application/rss+xml" />
	<link>http://mgthantzin.com/blog</link>
	<description>After the sunset, a new day must be born,... trust me.</description>
	<lastBuildDate>Fri, 27 May 2011 02:21:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>innerText for Firefox</title>
		<link>http://mgthantzin.com/blog/2010/05/innertext-for-firefox/</link>
		<comments>http://mgthantzin.com/blog/2010/05/innertext-for-firefox/#comments</comments>
		<pubDate>Thu, 13 May 2010 15:59:17 +0000</pubDate>
		<dc:creator>mgthantzin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[innertext]]></category>

		<guid isPermaLink="false">http://mgthantzin.com/blog/?p=25</guid>
		<description><![CDATA[Firefox doesn’t recognise innerText property. Below is the fix. var AmountLabelControl = document.getElementById('lblAmount'); var amount; if (AmountLabelControl.textContent) { // Firefox... amount = AmountLabelControl.textContent; } else if (AmountLabelControl.innerText) { // IE... amount = AmountLabelControl.innerText; } Thant Zin Oo]]></description>
			<content:encoded><![CDATA[<p>Firefox doesn’t recognise innerText property. Below is the  fix.</p>
<table>
<tbody>
<tr>
<td>
<pre>var AmountLabelControl = document.getElementById('lblAmount');

var amount;

if (AmountLabelControl.textContent) {
// Firefox...
amount = AmountLabelControl.textContent;
}
else if (AmountLabelControl.innerText) {
// IE...
amount = AmountLabelControl.innerText;
}</pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Thant Zin Oo</p>
]]></content:encoded>
			<wfw:commentRss>http://mgthantzin.com/blog/2010/05/innertext-for-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

