jQuery get value from input field's data-price parameter and create a new element out of it?
<p>Ok, I'm a bit puzzled, as I can't find any examples of how to do this...</p>

<p>Let's say I have a few radio buttons:</p>

<pre><code>&lt;input type="radio" value="1" name="product[]" data-price="19.95" /&gt;
&lt;input type="radio" value="2" name="product[]" data-price="29.95" /&gt;
...
</code></pre>

<p>How can I extract the value from "data-price" parameter for each one of those and append a new element right next to each input field showing that value/price?</p>

<p>Sort of, assume I don't have a complete control over how the form and its elements are formed, and the price doesn't show up nicely/properly on the front-end, so I want to extract it from the input/radio field instead and show it next to it, properly formatted and all, all done dynamically.</p>

<p>Any ideas?</p>

<p>Thanks in advance.</p>