470,841 Members | 1,037 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,841 developers. It's quick & easy.

Mozilla only half working

cwj
I have a form where you first select a state. The next step is to
choose a county. Since I don't know what counties to show until the
state is selected I am building the county menu with innerHTML.

I use PHP to build the if statements when the page is first loaded.
When the person selects a State the onChange triggers a fundtion that
looks to see the value of what was slected then goes through a list of
if statements to decide which menu to draw.

The menu draws fine in both IE and Mozilla, but when validating
Mozilla still sees the menu that was drawn when the page was
originally loaded.

Whats a good way to get this to work in both?

Thanks
Jul 20 '05 #1
1 1097
cwj escribió:
I have a form where you first select a state. The next step is to
choose a county. Since I don't know what counties to show until the
state is selected I am building the county menu with innerHTML.

I use PHP to build the if statements when the page is first loaded.
When the person selects a State the onChange triggers a fundtion that
looks to see the value of what was slected then goes through a list of
if statements to decide which menu to draw.

The menu draws fine in both IE and Mozilla, but when validating
Mozilla still sees the menu that was drawn when the page was
originally loaded.

Whats a good way to get this to work in both?

Thanks


You shouldn't use JS scripts as a required technology for your page.

Try to make it work without JavaScript, and then improve the form
functionality with JavaScript.

Regards,

knocte

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

35 posts views Thread by Richard | last post: by
30 posts views Thread by Matt Probert | last post: by
1 post views Thread by David Gardner | last post: by
11 posts views Thread by dhplank | last post: by
20 posts views Thread by Thorsten Kampe | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.