After browsing online, I came across a functional example that I would like to replicate in a similar manner.
Is there a way to show 2 different prices and currencies for the same selection in a drop-down menu without having separate drop-downs for each currency/price? According to what I have been informed, only the value (in this case, the price value) from the drop-down can be saved to MySQL. I am interested in saving the selected name instead of the currency/price, or maybe even both if feasible.
<select id="bedrooms" onchange="changeddl(this)">
<option>Choose beds</option>
<option value="150">1 bed</option>
<option value="200">2 beds</option>
<option value="300">3 beds</option>
<option value="400">4 beds</option>
</select>
<div id="divprice"></div>
function changeddl($this){
$("#divprice").text($this.value>0?("price: $ " + $this.value):"");
};