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)
Tracking
()
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);
}
Updated•26 years ago
|
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0
Comment 1•26 years ago
|
||
Moving to the DOM component.
Comment 2•26 years ago
|
||
Looks like another duplicate of bug 12307 -- multiple form elements with the
same name aren't being reflected into an array with that name.
Updated•26 years ago
|
QA Contact: rginda → desale
Comment 3•26 years ago
|
||
Changing QA Contact to Prashant
Updated•26 years ago
|
Summary: Javascript checkbox object array length states "undefined". → [WIP+rods]Javascript checkbox object array length states "undefined".
Updated•26 years ago
|
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".
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
Verified Dup.
You need to log in
before you can comment on or make changes to this bug.
Description
•