title: How can I select all checkboxes from a form using pure JavaScript (without JS frameworks)?
body: <p>I have question, how write function to  select  all  chceckbox  on  form, when  all  checkbox Id start  from  some const.  string,  using  pure java script
  (without  jquery  and other frameworks) ?  I know how  do it  using  each function from JQuery, but  I dont  have any idea hwo do it  in pure  JS.My form ex.</p>
  
  <pre><code>    &lt;form id="myId" name="myForm"&gt;
  &lt;input type="checkbox"  id="lang_1" value="de"/&gt; DE
  &lt;input type="checkbox"  id="lang_2" value="us"/&gt; US
  &lt;input type="checkbox"  id="lang_3" value="ru"/&gt; RU
  &lt;input type="button" onclick="Select();"  value="Select all"/&gt;
  &lt;/form&gt;
  </code></pre>