BODY ONLOAD() INTERNET EXPLORER 6.0.2 SCRIPT ERROR

  • Thread starter Thread starter HolaGoogle
  • Start date Start date
H

HolaGoogle

Hi all,

Can you please help me out with this???? i've been using body onload()
for ages but since i changed my internet explorer (to 6.02) and OS
(XP), i started to get this IE script error and i don't know how to
get rid of it!!!! I read somewhere that if I put the onload event in
an inline script tag at the bottom of the my form body, it all works
fine, but this doesn't work either!!!!

Actually it's the SetInterval method that my browser won't take,
here's what i'm doing:

BODY onload="window.setInterval('updatemywindow()', 1000);"
<SCRIPT LANGUAGE="JavaScript" src="_ScriptLibrary/RS.HTM"></script>
<SCRIPT LANGUAGE="JavaScript"> RSEnableRemoteScripting();</SCRIPT>

it tried BODY onload="setInterval('updatemywindow()', 1000);"

i did try something like this too:
BODY onload="CallMymethod();" and then

<SCRIPT LANGUAGE="JavaScript">
<!--
var serverURL="ServerUpdateResponse.asp";
var StrUpdate ='';
function CallMymethod()
{
window.setInterval("updatemywindow()",1000);
}

function updatemywindow()
{
var co = RSExecute(serverURL,"getupdateval",RetourUpdate);
document.Myform.txtgetupdate.value = StrUpdate ;
}

function RetourUpdate(co)
{
StrUpdate = co.return_value
}


and in my "ServerUpdateResponse.asp" form here's what i do....

<%@ LANGUAGE=VBSCRIPT %>
<!--#INCLUDE FILE="_ScriptLibrary/RS.asp"-->
<% RSDispatch %>
<script RUNAT="SERVER" Language="javascript">
function Description()
{
this.getupdateval = Function('return ReadUpdateval()');
}
var public_description = new Description();
</script>
<script RUNAT="SERVER"
Language="Vbscript">
and here i define my ReadUpdateval().......

this is not the problem it used to work everywhere else except on XP
with 6.0.2......the problem is in my body unload event.....Can someone
tell me what i should do????

thanks a million!!!!
 
Can you please help me out with this???? i've been using body onload()
for ages but since i changed my internet explorer (to 6.02) and OS
(XP), i started to get this IE script error and i don't know how to
get rid of it!!!! I read somewhere that if I put the onload event in
an inline script tag at the bottom of the my form body, it all works
fine, but this doesn't work either!!!!



XP does not include a JVM (Java Virtual Machine) out of the box, and the MS
JVM is no longer available for after the fact installation.

See:

Transitioning from the Microsoft Java Virtual Machine
http://www.microsoft.com/mscorp/java/?&gssnb=1



---big snip---

--
Michael Harris
Microsoft.MVP.Scripting

Microsoft® Windows®2000 Scripting Guide
http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp

TechNet Script Center Sample Scripts
http://www.microsoft.com/downloads/release.asp?ReleaseID=38942

WSH 5.6 documentation download
http://www.microsoft.com/downloads/...48-207D-4BE1-8A76-1C4099D7BBB9&displaylang=en
 
Get it from the Sun Java site.

Cheers, Peter.

: > Can you please help me out with this???? i've been using body onload()
: > for ages but since i changed my internet explorer (to 6.02) and OS
: > (XP), i started to get this IE script error and i don't know how to
: > get rid of it!!!! I read somewhere that if I put the onload event in
: > an inline script tag at the bottom of the my form body, it all works
: > fine, but this doesn't work either!!!!
:
:
:
: XP does not include a JVM (Java Virtual Machine) out of the box, and the MS
: JVM is no longer available for after the fact installation.
:
: See:
:
: Transitioning from the Microsoft Java Virtual Machine
: http://www.microsoft.com/mscorp/java/?&gssnb=1
:
:
:
: ---big snip---
:
: --
: Michael Harris
: Microsoft.MVP.Scripting
:
: Microsoft® Windows®2000 Scripting Guide
: http://www.microsoft.com/technet/scriptcenter/scrguide/sagsas_overview.asp
:
: TechNet Script Center Sample Scripts
: http://www.microsoft.com/downloads/release.asp?ReleaseID=38942
:
: WSH 5.6 documentation download
:
http://www.microsoft.com/downloads/details.aspx?FamilyId=01592C48-207D-4BE1-8A76
-1C4099D7BBB9&displaylang=en
:
:
 
Well...Thanks...i didn't know that....But if i may ask: What does this
JVM will do exactly? will it fix my script error ( "Object does not
support this method or property...")....
I did download it and install it on one of my PC, running XP, the
script error dispareared but i've a new one about a MSRS file it can't
find?????
On a second machine, with the configuration i'm getting this "Java
Installer connection error" so i can't even install it....

Can you please tell me what to do?? it's realy driving me nuts!!
Thanks
 
Oh...in my las post(maybe you haven't see it yet...) i installed the
above mentionned JVM... and you know what?? i'm getting "the page
cannot be displayed" everytime i try to load(display) any of my
pages?????? then, after 3-5 sec the page is displayed???? can someone
tell me what is the problem????
 
this "Object does not support this method or property...").... script
error is driving me crazy!!! So please tell me is there any way to
make my setinterval() method work using an onload event on XP and IE
6.0.2 server??? i don't realy what to do! it used to work with win
2000!! now even after installing whatever i've been told to install (a
java virtual machine, a windows scripts for XP) i just can't get rid
of this error!!! and i do get a javascripts out of memory script error
when the application has been running for a while...

pleeeeaaaasseeee HELP!
 
Back
Top