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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.