Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select box problem

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
I have a select box...and on change, it redirects to whatever the selected item's value is (a URL)...

Problem is, I open the new URL selection in a new window, and users need to be able to go back to that window, and re-select that same item if needed...and since this works 'onchange' the user can't pick it again unless they go to another url then go back and pick that url again.

How would I make an Automatic Redirect that as soon as you've picked your dropdown item, it opens my new window, and the select box re-selects the first option in the list (which doesn't have a URL and I dont want to open a window) Regards,
Anth:cool:ny
 
Let me clarify this...I'm going to try and put it simply, since the people in the Flash Forum never know what I'm talking about.

I have...
--Check Request Forms-- (Title...what the user sees at beginning)
Forum
Design Resource Group
EagleRock Construction (Names of companies from that the form is generated, with proper logos, etc.)

When a user comes into the page, he sees a dropdown that says --Check Request Forms--, when he drops down, and clicks Forum, or any other company...I want the dropdown to open a new window with the value of that option (a url), and then switch the dropdown box, back to --Check Request Forms-- Regards,
Anth:cool:ny
 
You can make the url "about:blank" for the first option and this will show a blank screen.
 
You can use the onblur event and little scripting to achive that since whether the value is changed or not when the focus leaves onblur event handler gets triggered
 
Well, the person doesn't press a button...its a click and go type deal, but it opens a new window. I was wondering if there was a script to be able to change it back to the original... Regards,
Anth:cool:ny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top