<select name="myselect" id="myselect" > <option value="2">3 luni - pret = 15$</option> <option value="4">6 luni - pret = 30$</option> <option value="6">1 an - pret = 60$</option> <option value="8">5 ani - pret = 250$</option> <option value="10">PeViata - pret = 500$</option> </select>
function selectorFunction() { var x = document.getElementById("myselect").value; <% selectPrice(Convert.ToInt32(x)); %> }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)