needs_upgrade Posted July 29, 2008 Share Posted July 29, 2008 Hello guys! I have a dropdown box name wherein i can select between products and i have two uneditable text boxes. How can i make php and javascript work together so that upon onChange on the dropdown box, the product's selling price and quantity available will be automatically populated on the two uneditable text boxes? I don't have any problem with SQL statements only on the part where php will pass the data to javascript. Please help or refer me to any tutorial. I've been stucked here for several days now. Thank you guys in advanced. More power to you all. Quote Link to comment Share on other sites More sharing options...
bluebutterflyofyourmind Posted July 29, 2008 Share Posted July 29, 2008 Hey there. so this is all AJAX. have you dealt with AJAX before? Quote Link to comment Share on other sites More sharing options...
needs_upgrade Posted July 29, 2008 Author Share Posted July 29, 2008 I haven't dealt with it. I've been searching for some related code but i can't find any. would you be kind to refer me to any tutorial related to my problem? thnx Quote Link to comment Share on other sites More sharing options...
bluebutterflyofyourmind Posted July 29, 2008 Share Posted July 29, 2008 if you look in this thread... i posted a long thing in the middle pretty much telling you how to do what you're wanting to do. look through that and give it a try. let me know if you have any questions http://www.phpfreaks.com/forums/index.php?topic=208701.new;topicseen#new Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.