Hi,
I am new around and new to Javascripting, though I have had some years on my back with HTML and some PHP.
I am trying to create a drop-down menu, where each displayed name has a defined value.
For example
<option value=''>Adamstua</option>
I want that spesific option to have a number signed to it, like for example 670.
In my second drop down list, I chose for example <option>blabla</option> option blabla has a value of 100.
So depending on whether or not the second option is used or not, I want the website to calculate me the differences between the selected options?
If it helps any I am trying to create something similar to a price calculator with various options, and where each option makes a difference to the total price shown.
Thank you.
- Johnny