Jump to content

How can I make PHP and Javascript work TOGETHER?


needs_upgrade

Recommended Posts

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.