Menu
I’ve posted the function which is in the the head between <script> tags. And I’ve posted the line in the body which references the function. Line 54 is the <input> line. I’m just trying to check the values of the array and I keep getting the error Object Expected. Any help is appreciated… Thanks.
Legion
function abcd()
{
for (var i=1; i<23; i++)
alert(regionarray[i]);
}
<body>
<form name=”theform”>
<input name=”thetext” type=”text” id=”Q5A” size=”59″ maxlength=”255″ onClick=”JavaScript: abcd();”>
</form>
</body>