I need to retrieve a valeu from a select in html like on this Link Anchor Text and calculate the price can anyone help me?

you can call your javascript function on change like this

<select name="drop_down" onchange="calculate()">
<option>option1</option>
</select>

where in javascript you can write a function

<script type="text/javascript">
function calculate() {
alert("hello world");
}
</script>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.