Posting form data to itself to update dynamic drop down?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kingconnections
Forum Contributor
Posts: 137
Joined: Thu Jul 14, 2005 4:28 pm

Posting form data to itself to update dynamic drop down?

Post by kingconnections »

OK so this might not be the right section for this post, but I thought I would give it a shot.

So i have a page with multiple drop down menus. The first drop down menu has a category, and the second menu are items in that category. How do you deal with these type of things. Post the form to itself then update second drop down, or just use some sort of javascript? Any ideas?

Thanks
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

In my opinion, JavaScript would be the nicest thing to do. Otherwise, post back to itself.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If you want to be accessible, you'd at minimum to the post-back.
Post Reply