I’m trying to create a form where the user selects 2 options from dropdown menus, inputs a quantity, and has a price update each time those items are changed. It’s for ordering photographs. Here is an example:
Select Print Size: 2x3 / 4x6 / 8x10
Select Print Style: Colour / Black & White
Input Quantity
Each time a change occurs, the database needs to be queried for the entry that includes the selected parameters and update a price box. I have an entry with a price for every print option (ex. 2x3 colour = $1.00; 2x3 black & white = $1.25, etc).
Can anyone give me a general framework for the jquery/ajax that is needed to make this happen?
I’m so bad at javascript…