<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Find all form elements with Javascript DOM</title>
	<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/</link>
	<description>a [mostly] technical weblog</description>
	<pubDate>Sat, 22 Nov 2008 04:01:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: Chris</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-5449</link>
		<pubDate>Tue, 22 Apr 2008 06:02:00 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-5449</guid>
					<description>Neat and useful script. Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Neat and useful script. Thanks for sharing!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ted</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3315</link>
		<pubDate>Mon, 29 Oct 2007 18:46:02 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3315</guid>
					<description>^ too bad you limit the reply length.</description>
		<content:encoded><![CDATA[<p>^ too bad you limit the reply length.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Ted</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3314</link>
		<pubDate>Mon, 29 Oct 2007 18:45:26 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3314</guid>
					<description>I used a much shorter adaptation to disable all form elements on the page.

function getAllFormElements( parent_node ) {
     if( parent_node == undefined ) {
          parent_node = document;
     }
     var out = new Array();
     var formInputs = new Array();
     formInputs[0] = parent_node.getElementsByTagName(&quot;input&quot;);
     formInputs[1] = parent_node.getElementsByTagName(&quot;textarea&quot;);
     formInputs[2] = parent_node.getElementsByTagName(&quot;select&quot;);
     formInputs[3] = parent_node.getElementsByTagName(&quot;button&quot;);
     formInputs[4] = parent_node.getElementsByTagName(&quot;radio&quot;);
     for (i=0;i</description>
		<content:encoded><![CDATA[<p>I used a much shorter adaptation to disable all form elements on the page.</p>
<p>function getAllFormElements( parent_node ) {<br />
     if( parent_node == undefined ) {<br />
          parent_node = document;<br />
     }<br />
     var out = new Array();<br />
     var formInputs = new Array();<br />
     formInputs[0] = parent_node.getElementsByTagName(&#8221;input&#8221;);<br />
     formInputs[1] = parent_node.getElementsByTagName(&#8221;textarea&#8221;);<br />
     formInputs[2] = parent_node.getElementsByTagName(&#8221;select&#8221;);<br />
     formInputs[3] = parent_node.getElementsByTagName(&#8221;button&#8221;);<br />
     formInputs[4] = parent_node.getElementsByTagName(&#8221;radio&#8221;);<br />
     for (i=0;i
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mshah</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3041</link>
		<pubDate>Thu, 30 Aug 2007 16:54:21 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3041</guid>
					<description>Thanks for very informative artical. It helps me to solve my problem.</description>
		<content:encoded><![CDATA[<p>Thanks for very informative artical. It helps me to solve my problem.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Bahodir</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3022</link>
		<pubDate>Tue, 28 Aug 2007 19:17:59 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-3022</guid>
					<description>Hi, there.
Thanx for a nice post. Quite useful.
Keep up.</description>
		<content:encoded><![CDATA[<p>Hi, there.<br />
Thanx for a nice post. Quite useful.<br />
Keep up.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Geert Verschueren</title>
		<link>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-2800</link>
		<pubDate>Wed, 25 Jul 2007 23:50:41 +0000</pubDate>
		<guid>http://ronandowling.com/2006/05/31/find-all-form-elements-with-javascript-dom/#comment-2800</guid>
					<description>Thanks a lot for the script, you were my saviour an my childnodes routine fails when the form is in a table :)

although you forgot about checkbox &amp;#38; radio buttons

here's how I had to adapt it...

function getAllFormElements( parent_node ) {
  if( parent_node == undefined ) {parent_node = document;}
  var getstr = &quot;&quot;;
  formInputs = parent_node.getElementsByTagName(&quot;input&quot;)   ;
		for (var i = 0; i </description>
		<content:encoded><![CDATA[<p>Thanks a lot for the script, you were my saviour an my childnodes routine fails when the form is in a table :)</p>
<p>although you forgot about checkbox &amp; radio buttons</p>
<p>here&#8217;s how I had to adapt it&#8230;</p>
<p>function getAllFormElements( parent_node ) {<br />
  if( parent_node == undefined ) {parent_node = document;}<br />
  var getstr = &#8220;&#8221;;<br />
  formInputs = parent_node.getElementsByTagName(&#8221;input&#8221;)   ;<br />
		for (var i = 0; i
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
