If I have more then 4 options in the description stops working... I need to put many options in it as I am a newbie at this.. our course didn't teach us ... except for to look on the web and find code to use :confused: Can you help?? Thank you :)
function displaydesc(which){
if (document.all)
descriptions.innerHTML=textdisplay[which]
else if (document.getElementById)
document.getElementById("descriptions").innerHTML=textdisplay[which]
}
displaydesc(document.a294.a969.selectedIndex)
document.a294.a969.options[0].selected=true
</script>
hi,
i see that you have 10 option items but only 9 textdisplays. make sure to have one for each corresponding items.
Thanks but it quits working the as soon as there are more then 4 descriptions... if I only have 4 it shows the rest as undefined.. but as soon as I try for more then 4 the description doesn't show...