[thelist] IE javascript question

Eduardo Kienetz eduardok at gmail.com
Mon Jul 2 09:34:03 CDT 2007

On 7/2/07, Stephen Rider <evolt_org at striderweb.com> wrote:
> You input only has a name, but in your script you're trying to call
> it by ID.  "Name" and "id" are two different attributes.  I would
> either call the element by Name or add the ID to the tag.

But I'm not calling the INPUT by ID, I'm calling the DIV, and
accessing its childNodes[0].childNodes[1] (the INPUT), as shown in
Firebug and working in Firefox.

<div id="EX_AATD" class="hiding"><label> <input type="checkbox"
name="EX_AATD">Item 1</label></div>


Eduardo Bacchi Kienetz
LPI Certified - Level 2

More information about the thelist mailing list