Solved

Refreshing a page, without submitting it

Posted on 1998-09-02
3
137 Views
Last Modified: 2010-04-09
I have two select options on a page, one of them hidden. I would like to show the one that´s hidden when I select one of the options.Lets say I have a list that displays countries, when someone selects USA, I would like to show the hidden select option, so it displays all the states. Is this posible?
0
Comment
Question by:jrange
3 Comments
 
LVL 4

Accepted Solution

by:
binkzz earned 40 total points
Comment Utility
Yes, you would, however have to use java for this. If you need
an example control, mail me, though you can download them nearly
anywhere.
0
 
LVL 28

Expert Comment

by:sybe
Comment Utility
1. You can use layers to do this (DHTML)

2. in plain HTML, you could use an empty dropdownbox which will be filled with data when something in the first box is selected.
I believe that this won't work in MSIE 3.
0
 
LVL 4

Expert Comment

by:rafistern
Comment Utility
sybe is right. What you could do is put the select list in a frame or use a popup widow with options. Depending on which country you chose you would get a different set of options. This is rather clumsy but it would work in NN2 and IE3.

Or alternatively you could ignore those browsers and just give them the whole select list as you would have to do for noscript browsers (either they haven't got or it has been turned off).
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now