J
Joe Kehnast
I'm running a system on W2K web server with a Professional XP client.
I'm opening a window from an asp page using showModalDialog. In the
window I open I'm calling the onLoad event from the body tag. The
very first thing I put in the beginProcessing() function is an alert
saying I "got here." For some reason the event doesn't always fire
and my function doesn't run. Any ideas why?
I had to abandon this and came up with another solution because I
can't be 100% sure why the onLoad event isn't consistently firing.
Here's a solution I put in place but I'm not terribly in love with
doing it this way, but it seems to work.
You could argue that calling the onLoad event is the "right way" and I
would imagine most people would take that position. But, it doesn't
always work and it's driving my nuts. Any ideas why I can't use
onLoad and RELY on it????
Here's what I did and seems to work - for now.
<script language="JavaScript1.2">
window.setTimeout("beginProcessing()", 500);
</script>
If anyone could take a moment to respond I'd greatly appreciate it.
Thank you,
Joe Kehnast
CIGNA Corporation
I'm opening a window from an asp page using showModalDialog. In the
window I open I'm calling the onLoad event from the body tag. The
very first thing I put in the beginProcessing() function is an alert
saying I "got here." For some reason the event doesn't always fire
and my function doesn't run. Any ideas why?
I had to abandon this and came up with another solution because I
can't be 100% sure why the onLoad event isn't consistently firing.
Here's a solution I put in place but I'm not terribly in love with
doing it this way, but it seems to work.
You could argue that calling the onLoad event is the "right way" and I
would imagine most people would take that position. But, it doesn't
always work and it's driving my nuts. Any ideas why I can't use
onLoad and RELY on it????
Here's what I did and seems to work - for now.
<script language="JavaScript1.2">
window.setTimeout("beginProcessing()", 500);
</script>
If anyone could take a moment to respond I'd greatly appreciate it.
Thank you,
Joe Kehnast
CIGNA Corporation