Solved

Refreshing a page, without submitting it

Posted on 1998-09-02
3
138 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
ID: 1837288
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
ID: 1837289
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
ID: 1837290
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bad <form> statement? 9 31
how to avoid redundand ajax calls 5 28
Html5 string 3 21
Scroll 5 news at a time. 4 26
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

776 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