Page 1 of 1

Drop down menus, and page changes

Posted: Wed Apr 23, 2008 7:39 am
by zachary8
This might be a noob question, so I'm sorry to ask it.

I wasn't sure what it is called, so I couldn't search for it, so I also apologize if its been asked before.

I've seen on on various web pages the action of selecting something from a drop down menu, and instantly, something on the site would change, like say you pick a category in a drop down menu, and isntantly another dropdown menu appears displaying sub categories.

Currently, I know how to get results on the same page, via a 'submit' button to post the current category and grab the data to display the sub category drop down menu on the next page.

My main goal is to get rid of the submit button so that the user can just keep rolling through the application without having to click submit everytime the enter in a piece of information.


Thanks for the help :)

Re: Drop down menus, and page changes

Posted: Wed Apr 23, 2008 7:43 am
by aceconcepts
In order to do this without using a submit button you'd have to use javascript or Ajax.

Re: Drop down menus, and page changes

Posted: Wed Apr 23, 2008 7:46 am
by zachary8
could you tell me a technical name for it or what it would be known as, as to help me search under those?

TY by the way :)

Re: Drop down menus, and page changes

Posted: Wed Apr 23, 2008 8:29 am
by onion2k
Selecting from one dropdown to update another one is called a "chained select".

Re: Drop down menus, and page changes

Posted: Wed Apr 23, 2008 9:06 am
by aceconcepts
I have seen an example of this at http://www.dynamicdrive.com

Re: Drop down menus, and page changes

Posted: Wed Apr 23, 2008 5:40 pm
by zachary8
ty guys. ur awesome.