title: calculate checkbox array length using document.getElementById in javascript
body: <p>I want to calculate the length of  a checkbox array using <code>document.getElementById('test')</code> function.</p>
  
  <p>I have an array whose id is test and lenght I want calculating <strong>checkbox array length</strong> using <code>document.getElementById('test')</code> strictly.</p>