View Full Version : How to use drop down box as hyperlink?

07-06-2002, 06:32 PM

I am a newbie to javascript, so I hope someone can answer this question.

I am using a series of drop down boxes, and when I click the last, I want to connect to a .htm file on my computer instead of a external webpage.


secondGroup[3][1][1]=new Option("CNN","http://www.cnn.com")

What should I write to connect to a local page, I want to use the dropdown box's values as hyperlinks?

secondGroup[3][1][1]=new Option("My page","???????????")

I am hoping to get an answer.

:p Gryofunk

07-06-2002, 08:30 PM

For windows at least, in *nix you just go like:


for example.

And I have no clue on the MacOS file system structure.

07-06-2002, 08:39 PM
I am sorry, but I cannot get it to work, could you please explain it a little more?


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum