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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drop down box and hyperlinks

Status
Not open for further replies.

FlatHead

Programmer
Oct 13, 2000
50
GB
I have a drop Down box with some values such as Robot 1,Robot 2, Robot 3....

All i want is once the user select each one from the Drop down menu to automatically linmk them to external URLs

for example for robot 1 i want : e.t.c e.t.c

Pleasee help
Regards ZAC
 
So you want to take the value, which is text only, and send a person there?

function sendme(){
var index = document.formName.selectname.selectedIndex;
document.location=document.formName.selectName[index].value;


Can call it from anywhere, but probly onChange in the select tag. Or link it to a 'go' button "Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top