title: Magento: How do I get the selected value from a group of radio buttons from a custom option?
body: <p>I have a custom option, which holds 2 options. There is no button group or something created by Magento, the radio buttons and the labels are in a &lt; ul >, so how would I get the selected radio button? This is the code:</p>
  
  <pre><code>&lt;ul id="options-22-list" class="options-list"&gt;
      &lt;li&gt;
          &lt;input id="options_22_2" class="radio validate-one-required-by-name product-  custom-option" type="radio" price="6.8" value="40" name="options[22]" onclick="opConfig.reloadPrice()"&gt;
          &lt;span class="label"&gt;
              &lt;label for="options_22_2"&gt;
                  option1 
                  &lt;span class="price-notice"&gt;
                      +
                      &lt;span class="price"&gt;€6.80&lt;/span&gt;
                      &lt;/span&gt;
               &lt;/label&gt;
              &lt;/span&gt;
      &lt;/li&gt;
      &lt;li&gt;
          same as above just with the other option and other ids
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>Thanks!</p>