ChrisB: auf eine CheckBox zugreifen

Beitrag lesen

Hi,

<input type="checkbox" name="bx[0]" value="Wurst">
<input type="checkbox" name="bx[1]" value="Milch">

document.myFORM.bx[i].checked = true;

Es gibt aber nur eine Fehlermeldung:
    "document.myFORM.bx ist Null oder kein Objekt"

Mit diesem Problem kommt alle Nase lang jemand hier angerannt - Lesen koennte helfen.

http://de.selfhtml.org/javascript/objekte/elements.htm#allgemeines, Schema 4.

MfG ChrisB

--
„This is the author's opinion, not necessarily that of Starbucks.“