Msg#: 4408970 posted 1:19 pm on Jan 20, 2012 (gmt 0)
Can someone help me to solve this headache?
I have a couple of checkboxes created on the fly by a while loop from a database. The name attribute for the checkboxes is 'dsft' ( without square brackets for a reason i'm going to mention hereafter).
Msg#: 4408970 posted 3:37 pm on Jan 20, 2012 (gmt 0)
(Your post looks truncated?)
What do you mean the "values handled differently"?
// Returns a NodeList of all the name="mycheckboxes" controls on myform. document.myform['mycheckboxes']
Whereas if you weren't passing your values back to PHP then you wouldn't need to use square brackets, then you could use object dot notation:
// Returns a NodeList of all the name="mycheckboxes" controls on myform. document.myform.mycheckboxes