Closed Bug 19576 Opened 26 years ago Closed 26 years ago

Javascript checkbox object array length states "undefined".

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 12307

People

(Reporter: mcebulski, Assigned: vidur)

Details

Using the M11 zip dated 11/19/99 on Windows NT 4.0 sp5. Ran the following javascript function. Alert box states "undefined". Tested using four input checkboxes all named "cb1" within form named "form1". I also attempted using "document.form1.cb1.length", which also doesn't work. function TotalItems() { var nTotalItems=document.forms['form1'].elements['cb1'].length; alert(nTotalItems); }
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0
Moving to the DOM component.
Looks like another duplicate of bug 12307 -- multiple form elements with the same name aren't being reflected into an array with that name.
QA Contact: rginda → desale
Changing QA Contact to Prashant
Summary: Javascript checkbox object array length states "undefined". → [WIP+rods]Javascript checkbox object array length states "undefined".
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Summary: [WIP+rods]Javascript checkbox object array length states "undefined". → Javascript checkbox object array length states "undefined".
duplicate 12307 *** This bug has been marked as a duplicate of 12307 ***
Status: RESOLVED → VERIFIED
Verified Dup.
You need to log in before you can comment on or make changes to this bug.