title: How to get array object from html element
body: <p>I have a select box how to get all text and value in a array.</p>
  
  <pre><code>&lt;select  data-original-title="" title=""&gt;
      &lt;option value=""&gt; -- Select Template -- &lt;/option&gt;
      &lt;option value="1"&gt;a&lt;/option&gt;
      &lt;option value="2"&gt;b&lt;/option&gt;
      &lt;option value="3"&gt;c&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>all the value in a object array</p>
  
  <p>how to get radio button label and value in a array </p>
  
  <pre><code>&lt;div class="radio"&gt;
      &lt;label class="radio-inline"&gt;
          &lt;input tabindex="7" onclick="hidetyping_translt()" 
              name="txtSelectedLanguage" id="txtSelectedLanguage1" value="English" 
              checked="checked" type="radio"&gt; English &lt;/label&gt;
      &lt;label class="radio-inline"&gt;
          &lt;input tabindex="8" onclick="showtyping_translt()" 
              name="txtSelectedLanguage" id="txtSelectedLanguage2" value="Other" 
              type="radio"&gt;Other Language&lt;/label&gt;
      &lt;label class="radio-inline"&gt;
          &lt;input tabindex="9" onclick="hidetyping_translt()" 
              name="txtSelectedLanguage" id="txtSelectedLanguage3" value="Flash" 
              type="radio"&gt;Flash SMS&lt;/label&gt;
  &lt;/div&gt;
  </code></pre>