S
shotokan99
hi,
i do have dropdown box that contains several items with attached
links:
<select class="text" onchange="linker()" name="menu1">
<option value="#" selected="selected">--- Countries
---</option>
<option
value="#">Argentina</option>
<option value="#">Australia</option>
<option value="#">Brazil</option>
<option value="#">Canada</option>
<option value="#">China</option>
<option value="http://
www.mypage.com"class="textRed">*France</option>
the linker() function:
function linker(){
var s=menu1.options[menu1.selectedIndex].value;
if(s !== '#'){
window.location.href = s;
}
this works perfectly IE but in doesnt work in firefox. can someone pls
tell me what is wrong?
tnx
i do have dropdown box that contains several items with attached
links:
<select class="text" onchange="linker()" name="menu1">
<option value="#" selected="selected">--- Countries
---</option>
<option
value="#">Argentina</option>
<option value="#">Australia</option>
<option value="#">Brazil</option>
<option value="#">Canada</option>
<option value="#">China</option>
<option value="http://
www.mypage.com"class="textRed">*France</option>
the linker() function:
function linker(){
var s=menu1.options[menu1.selectedIndex].value;
if(s !== '#'){
window.location.href = s;
}
this works perfectly IE but in doesnt work in firefox. can someone pls
tell me what is wrong?
tnx