help to using an array checkbox in javascript

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Thu Jul 03, 2003 7:34 am

s it the fact that Javascript desn't understand the [] at the end of the name's checkbox.
Javascript errors "object.length is null or not an object". Unfortunately I need the [] there
as they are to be processed by some php when I submit the form.

You are correct. Instead of using the actual object name you will need to use the element id.


set the id numerically and it should work.

Post Reply