Hello friends,
Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums.
Here's my scenario:
I have a webpage with multiple categories and one dropdown under each category. What I would like to do is:
-Upon selecting an <option> from the dropdown under any "category" I'd like for an onChange event to happen so that the category name and the selected <option> is automatically entered into a PHP SESSION and carried into a jQuery lightbox style popup. And, for those two bits of data stored in the SESSION to be retrieved into another form inside the lightbox style pop-up page. So that the user may continue to fill out the rest of a form and then it will be POSTED into a mySQL database.
What I already have:
-I have a working mySQL database and have already setup the secondary form. Just can't figure out how to store the SESSION for the 'category' and <option> selected from the dropdown to be autopopulated into the form in the pop-up.
-Also having trouble understanding how I can use an onChange event in the dropdown to automatically open the jQuery lightbox popup when user click on the <option> and start the PHP seesion for those two (the category name & the selected <option> from the dropdown) and also retrieve the stored SESSIONS variables and place them onto the pop-up so that the user can continue to fill out the form and submit it.
Geez, I hope that makes sense.
Any help would be greatly appreciated. And if you help me solve this you are a God among men! (and women of course)
Devin