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!!!!
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!!!!