|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Javascript + PHP
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 |
|
#2
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by nawlej.
Reason: asking for help with javascript. Clientside. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Javascript + PHP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|