1
jcera
html question
  • 2004/6/14 0:17

  • jcera

  • Just popping in

  • Posts: 72

  • Since: 2004/6/5 6



i want my template to have two drop down boxes. the first one should display the coountry and the second one should display the different cities within the coountry, depending on the selected country.

this is my code:



where,
country[0] = "A", country [1] = "B"
index[0] =0, index[1] =1
city[0] = "a", city[2] = "b"

my problem is, when i select an option, although the page refreshes, it does not send the value of the country, therefore causing the second drop down box to be empty.

am i using the wrong function? i'm thinking of creating a function that will do this. however, i might just be creating one that's like select(), maybe i'm just missing a command or something. can anyone shed light on my problem? thanks!

2
tl
Re: html question
  • 2004/6/14 2:46

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23



3
jcera
Re: html question
  • 2004/6/14 6:29

  • jcera

  • Just popping in

  • Posts: 72

  • Since: 2004/6/5 6


hey, thank you very much, tl!

Login

Who's Online

293 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 293


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits