<?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: Showing Or Hiding HTML Form Elements With JavaScript</title>
	<atom:link href="http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/</link>
	<description>Speak To Improve The Silence</description>
	<pubDate>Thu, 20 Nov 2008 23:14:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Rob</title>
		<link>http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-1656</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 22 Oct 2008 03:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-1656</guid>
		<description>To the guy that asked the question about hiding it to start with.

Just change this line:

&lt;pre lang="html4strict"&gt;
&lt;div id="hidearea"&gt;
&lt;/pre&gt;

to this:

&lt;pre lang="html4strict"&gt;
&lt;div id="hidearea" style="display:none;"&gt;
&lt;/pre&gt;

That will fix it.

If you want to click "yes", and have it show, vs. "no" where it will hide, swap the "" and the "none" in the loop.  I think this is a more practical method...yes meaning show, and no meaning hide...

Either way, it's good.  Thanks for the code.</description>
		<content:encoded><![CDATA[<p>To the guy that asked the question about hiding it to start with.</p>
<p>Just change this line:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidearea&quot;</span>&gt;</span></pre></div></div>

<p>to this:</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidearea&quot;</span> <span style="color: #000066;">style</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display:none;&quot;</span>&gt;</span></pre></div></div>

<p>That will fix it.</p>
<p>If you want to click &#8220;yes&#8221;, and have it show, vs. &#8220;no&#8221; where it will hide, swap the &#8220;&#8221; and the &#8220;none&#8221; in the loop.  I think this is a more practical method&#8230;yes meaning show, and no meaning hide&#8230;</p>
<p>Either way, it&#8217;s good.  Thanks for the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-1587</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 01 Oct 2008 10:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-1587</guid>
		<description>Hi,
What if the field you dont want it to show for is checked(checked="checked"), you have to choose the other one and then go back to the first option for it to go away.
Any way around this?
Cheers</description>
		<content:encoded><![CDATA[<p>Hi,<br />
What if the field you dont want it to show for is checked(checked=&#8221;checked&#8221;), you have to choose the other one and then go back to the first option for it to go away.<br />
Any way around this?<br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XC</title>
		<link>http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-765</link>
		<dc:creator>XC</dc:creator>
		<pubDate>Sun, 20 Apr 2008 15:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.dougv.com/blog/2006/12/19/showing-or-hiding-html-form-elements-with-javascript/#comment-765</guid>
		<description>I wish there was more people like you in the world.  Not just for your knowledge (you rock! by the way) but for your patience, compassion and understanding.  The only peace I get around those other people is knowing KARMA rules.  Have a nice day.  :)</description>
		<content:encoded><![CDATA[<p>I wish there was more people like you in the world.  Not just for your knowledge (you rock! by the way) but for your patience, compassion and understanding.  The only peace I get around those other people is knowing KARMA rules.  Have a nice day.  <img src='http://www.dougv.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
