Jump to content

Recommended Posts

I have a double drop down box, where the choice of the first box forces the page to reload and place different data in the second box. Kind of like having a country dropdown and state/province dropdown so depending on the country you pick you get a different list of states or provinces. This works great.

 

But the problem is that I also have a form on this page and if you start filling out the form and then change the drop downs all the data that you have already filled in goes blank, because the page refreshes so it only makes sense.

 

Does anyone have any suggestion to how I can get around this happening and reload all the variables that have already been filled in.

 

Thanks for you help in advance

Link to comment
https://forums.phpfreaks.com/topic/119133-dynamic-changes-to-a-page/
Share on other sites

thanks ignace ,

 

I checked out the tutorial from ajax, interesting, but I can't seem to figure out how to make it work with an sql query instead of a hard coded list.

 

If you know anything else about this it would be a big help.

 

Thanks again.

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.