Hello,
I don't understand why this works in IE and not in Netscape. The error I keep getting is:
"document.all has no properties." Here is the code:
function OnLoad()
{
var el = document.all.tags("select".item(0);
if (el != null)
{
for (i=0; i < el.options.length; i++)
{
alert("Option " + i + " is " + el.options(i).text);
}
}
}
Hope that somebody can help...
Thanks
I don't understand why this works in IE and not in Netscape. The error I keep getting is:
"document.all has no properties." Here is the code:
function OnLoad()
{
var el = document.all.tags("select".item(0);
if (el != null)
{
for (i=0; i < el.options.length; i++)
{
alert("Option " + i + " is " + el.options(i).text);
}
}
}
Hope that somebody can help...
Thanks