Forum Moderators: open
function fiddle()
{
var atlas= new Array("Physical World"," "," "," ","K2")
var secno = window.document.form1.Book_Label.selectedIndex;
var secna = window.document.form1.Book_Label.options(secno).value;
alert (secna);
alert (secna[0]);
}
The variable secna is successfully set to "atlas" (from the drop down list that calls the function), but then alert (secna[0]) is returned as undefined.