I have a form having a field like the following: <input type="checkbox" name="solicitationBean[0].attemptNo" value="" > Please suggest how to access this in javascript. I am getting error when I access like this: document.formname.solicitationBean[0].attemptNo