Hello
I have a drop down list that is created from a mySQL database. When a user selects a different item in the list, I want to update a textfield with a subtotal price based on what they have selected.
So I am trying to build a Javascript function "subtotal()" that calls the price of an item selected in the dropdown menu using <select onChange="subtotal()">, adds it on to the figure already there, and displays the current subtotal in a dynamic text box.
Could anyone help me define the Javascript function? Or point me to a working example?
Thank you very much,
Moritz Gaede
moritz@drivedrive.com