473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

IE Stops Loading Script Prematurely

I'm adapting the ajax-like asynchronous request pattern mentioned in
this article:

http://www.xml.com/pub/a/2005/11/09/...ul.html?page=2

for my Sudoku implementation:

http://ttwhy.org/code/mosudoku.html

By changing the "src" attribute of a script tag, I can dynamically load
Sudoku feeds from a proxy PHP script as javascript text. It's necessary
for me to use this mechanism instead of xmlHttpRequest because of the
security limitations imposed on the latter; in particular, when a local
file is viewed in a browser such as Firefox, remote pages may not be
fetched using xmlHttpRequest. I am designing my Sudoku for play both
online and off.

Everything seems to work fine in Firefox and Opera. The feeds load just
fine in IE too, provided I don't navigate to another tab or perform any
other kind of script operation before the feeds finish loading. But if
I do trigger one such script action before loading is complete, it
seems that the load is aborted. And I don't understand why this is the
case.

Is this behavior documented in IE? Is IE known to stop loading remote
scripts if "interrupted" by other script events?

Feb 20 '06 #1
2 1865
hb****@gmail.com wrote:
<snip>
Everything seems to work fine in Firefox and Opera. The feeds
load just fine in IE too, provided I don't navigate to another
tab or perform any other kind of script operation before the
feeds finish loading. ...

<snip>

Under such circumstances suspicion always falls on the use of javascript
pseudo-protocol HREFs. The 'execution' of such HREFs is treate4d by IE
browsers as navigation and an indication that the current page is
therefor finished with (so it can stop doing things that are no longer
needed, such as downloading files, animating GIFs and so on).

Richard.
Feb 20 '06 #2
I removed pseudo-protocol links from the code, problem solved! Thanks
Richard.
Haw-Bin

Feb 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mike Daniel | last post by:
I am attempting to use document.write(pageVar) that displays a new html page within a pop-up window and the popup is failing. Also note that pageVar is a complete HTML page containing other java...
3
by: Jacques Chaurette | last post by:
Hello all , thanks in advance for any help. While looking for a solution to how to replace the grey box while an applet loads, a search of Google got me an article by Glenn s. Peffers that claims to...
4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
6
by: Curious George | last post by:
I have a page that takes about 10 seconds to load the first time it is run. I would like to first display a little animated gif telling the user that the page is loading. How do I do this with...
6
by: snazzy | last post by:
I have a problem where using innerHTML to rewrite a DIV or removeChild to kill a DIV that either of them, if excuted before the page is done loading will stop the page in its tracks. ...
13
by: Jitendra | last post by:
Hi! I m facing a problem with 'javascript:void(0)' Software Environ:- IE: 6.0.2600.0000 OS: Windows 2000 Professional with Service Pack 4 Problem:- I have a webpage with several links (<A>...
6
by: Pieter | last post by:
Hi, I developed an Outlook Add In (VB.NET 2005, for Outlook 2003) that sometimes suddenly stops loading. I've put everywhere in the code Exception Handlers, but no Exception is catched. it...
5
by: toffee | last post by:
Hi all, I've seen a really cool effect which i would like to use on an intranet site. Am referring to the 'LOADING..' animation you see when switching pages. I've seen it somewhere on a website...
1
by: Kai | last post by:
Hello, everybody, I have a problem which I had never seen before and it only appears on one of our servers. Whenever I load a php-script from the server the browser loads the page and shows it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.