Hi,
Das funktioniert auch solange mehr als eine Box angehakt ist. Ist nur eine Box angehakt, erhalte ich im Array "document.details.picName" ein undefined.
Was heisst bitte "im" Array?
Hast du mal ein vollstaendiges Online-Beispiel?
Und was willst du eigentlich mit zwei aufeinanderfolgenden return-Statements bezwecken? Dass davon nur das erste ausgefuehrt, und danach die Funktion verlassen wird, sollte doch wohl klar sein.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“