Skip to main content
March 13, 2007
Answered

onLoad not triggering on connection failure

  • March 13, 2007
  • 1 reply
  • 185 views
Hi,

I'm having a problem with XML.onLoad not firing if there is no connection available. If I start up the application, then disable the connection when I press the button to get the XML the onLoad doesn't trigger. If I simply enter an invalid URL it does fire. I cannot use the HTTPstatus method as that's for FP8 and we're still having to use FP6.

Anyone have any ideas?

Cheers,
Scott

This topic has been closed for replies.
Correct answer
I've found the answer!! It works fine in IE, it's when it's viewed in FireFox. I've had to implement a timeout function that displays a message after a certain amount of time has elapsed.

1 reply

Correct answer
March 15, 2007
I've found the answer!! It works fine in IE, it's when it's viewed in FireFox. I've had to implement a timeout function that displays a message after a certain amount of time has elapsed.