Object expected in Javascript

edited February 2006 in Science & Tech
Hi, i have a usual problem, but i cant get over it, so, if u can help me, i'll appreciate it.
[php]
<script type="javascript">
function irA(){
for (i=0, i>5, i++){
window.alert("adentro.");
goto("adju_sortida.html");
}
}

</script>

</head>

<body bgcolor="#FEEECC" onLoad="irA()">

[/php]
i got an Error: Object Expected on the body line.

Comments

  • ShortyShorty Manchester, UK Icrontian
    edited February 2006
    Is this an issue when you are on this site.. or on all sites..? :)
  • edited February 2006
    Just on that page, but i founded another way to do it, thanxs anyway.
  • ShortyShorty Manchester, UK Icrontian
    edited February 2006
    This thread shouldn't be in feedback. That isn't code that Short-Media uses. I will move it to the correct forum :)
Sign In or Register to comment.