selected value according price and rate show with javascript, Set and get range values, text, or formulas using the Excel JavaScript API
Output:-
Another:-
The best way to achieve this is to use javascript.
<select id="dropdown">
<option value="1.00">$1.00</option>
<option value="12.43">$12.43</option>
<option value="37.21">$37.21</option>
</select>
JavaScript:
var e = document.getElementById("dropdown");
var value = e.options[e.selectedIndex].value; // The value
var text = e.options[e.selectedIndex].text; // The text
Or jQuery:
$("#dropdown :selected").text(); // The text
$("#dropdown").val(); // The value