Am 2010-04-23 22:43, laredotornado meinte:
With its type property.
Gregor
--http://
www.gregorkofler.com
I tried that, but it is not producing anything. On my page, I have a
single form, and this code
console.log("elt name:" + eltName + " type:" +
document.forms[0].elements[eltName].type);
produces:
elt name:functionSpace type:undefined
Here is the HTML ...
<div class="field-wrapper">
<label for="function-space-yes" class="lbl-function">
*Function space and /or meeting space needed?
</label><br />
<input id="function-space-yes" name="functionSpace" class="empty
lbl-function" type="radio" value="yes"/>
Yes
<input id="function-space-no" name="functionSpace" class="empty
lbl-function" type="radio" value="no"/>
No
</div>
- Dave
Any other thoughts? - Dave