Link to home
Start Free TrialLog in
Avatar of PeterErhard
PeterErhard

asked on

select menu

I have two select drop downs on my html page.

What I select an option in the first select I want to populate the other select menu with the items relating to the option selected in the first select box.

For Example:

Select 1

Australia
USA

Select 2

When Australia is selected show:
  *Sydney
  *Brisbane

When USA is selected show:
  *New York
  * Los Angeles

How can this be done?
ASKER CERTIFIED SOLUTION
Avatar of minichicken
minichicken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PeterErhard
PeterErhard

ASKER

Apologies for the late response guys.

Thanks for your comments :)

All looks great but I need to store the IDAuto of the City too as I'm passing the value onto a modification page for the particular city that the user selected.

I'll be populating the drop downs from a MYSQL database.