Object expected error has me stumped
Posted: Thu Apr 10, 2003 10:51 am
Okay the following code always throws up the Object expected error line 13, character 14 which is at the i < sizeof(... line
I can't for the life of me figure out why this is happening... anyone have any suggestions?
Code: Select all
function showmenu(x)
{
document.write("<table border='1' width='100'><tr><td><select id='a' style='visibility: visible;'>" );
for(var i=0;i < sizeof(x); i++) document.write("<option>"+xїi]+"</option>" );
document.write("</select></td></tr></table>" );
}