How can get CheckBox Array length in java script
<p>in my jsp form i have one checkbox Array in my form(jsp and struts).i want to know the length of checkbox Array in java script. ex: <code>&lt;input:checkbox property="chkbox[]"/&gt;</code> .  in javascript  i am calling <code>document.form[0].chkbox[].value.length</code> but it showing javaScript error null or undefined .</p>
