when i use the following function, it will only work in Internet explorer and not Firefox-
function myfunc(){
a=document.select1;
b=a.options[a.selectedIndex].value;
alert ("hello")
}
The function stops and does not display the alert.
it works in both browsers if i put the selectbox 'select1'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.