Hi all,
Basically I have a quantity field on my php page that a user manually updates to the desired amount.
Initially when the page loads I output a single dropdown list.
Now for the moment there is only a qty of 1 specified so only 1 list is shown.
What I wish to happen is when the quantity box is updated to whatever value output that number of lists.
My initial thought is that I could do an OnUpdate event for the QTY input that calls a function to take the value of the QTY entered.
I wish for this value to be used by PHP though. The dropdown lists are populated by data from a MySQL DB so I would want to take the QTY value and use a while loop in PHP that outputs x number of lists.
Any thoughts?
Javascript - Im not sure if my idea can work [SOLVED]
Moderator: General Moderators
Javascript - Im not sure if my idea can work [SOLVED]
Last edited by hairyjim on Thu Jun 23, 2005 3:04 am, edited 1 time in total.