<?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>MarkTeipe.com &#187; Javascript</title>
	<atom:link href="http://markteipe.com/category/code/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://markteipe.com</link>
	<description>New Media Development</description>
	<lastBuildDate>Wed, 25 Aug 2010 05:04:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>document.getElementById null error</title>
		<link>http://markteipe.com/2008/07/30/documentgetelementbyid-null-error/</link>
		<comments>http://markteipe.com/2008/07/30/documentgetelementbyid-null-error/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 01:39:28 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://markteipe.com/2008/07/30/documentgetelementbyid-null-error/</guid>
		<description><![CDATA[If you keep getting this error it is because the element ID truly is null.  But you say &#8220;But it&#8217;s write here on the page with a DIV id on it!&#8221;? Well you&#8217;re probably doing what I did &#8211; calling the getElementById before the DIV exists in the normal flow of the page. Put your [...]]]></description>
			<content:encoded><![CDATA[<p>  If you keep getting this error it is because the element ID truly is <em>null</em>.  But you say &#8220;But it&#8217;s write here on the page with a DIV id on it!&#8221;? Well you&#8217;re probably doing what I did &#8211; calling the getElementById before the DIV exists in the normal flow of the page. Put your call in a function call after the DIV on the page (not in the page header) and the issue goes away.</p>
]]></content:encoded>
			<wfw:commentRss>http://markteipe.com/2008/07/30/documentgetelementbyid-null-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
