9 replies
by pol
Try another Event "onreadystatechange"
but it's applies to
Applies To
APPLET, EMBED, IMG, LINK, OBJECT, SCRIPT, STYLE, document
and not to body
so ,try for document ,if it is dosn't work
try for object.
by hemant_bhatt
Hi Mohan,
I have had similer problems in the past an successfully resolved them.
You can use window.setTimeOut property while you are populating the ActiveX controls. Ti works!!!!
Hemant
by glenndal
In your function called from onLoad, try
something like this...
function onLoad() {
if(document.all.ACTIVEXOBJECTNAME) {
// code with aX initialisations
} else {
setTimeout('onLoad()',1000)
}
}
just replace ACTIVEXOBJECTNAME with the name
you used in your object ID="???" parameter.
If the object is not ready to receive data
then the script won't find it, and will try
again in one sec
by davemcrae
You could either set Response.Buffer=true or (I found this works well for my javaScript, a bit of cheat) put your OnLoad() Sub at the very end of the generated page.
The other answers are good too.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending