Jump to content

Populating a drop down list from a css popup


gerkintrigg

Recommended Posts

I've been programming for a long while now and a PHP programmer for around 7 years, but this is my first fight with Ajax and while I think it's potentially very cool indeed, I'm a bit stuck.

 

I have a CSS popup script at: http://myointernational.com/wootten/test.php it's working okay but I want the drop down list to populate depending on the variable passed to it.

 

I have changed the CSS popup script to accept an id variable (associated to the word group that will go into the drop down list) and put the variable into a Javascript variable. I'm fine with making a PHP script to accept a PHP variable, but I don't really understand how to get it to take a javascript one...

 

I hope that makes sense. As I said I'm new to Ajax and still don't fully understand it.

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.