/    Sign up×
Community /Pin to ProfileBookmark

Hi any one plz help me

using javascript how to check which whether file downloaded or not.

My basic problem is that i have HTML in which i m calling CSS, JS and JSP file.
Even the whole page is display and all files are download but still in progress bar it showing the status of downloading.

So using javascript i want to know which file is still downloading.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@DracoMerestApr 08.2006 — CSS: apply the last style listed to the last test element on your page. If the last test element has the correct style then the CSS file completed.

JS: add a dummy variable to thethen of the file. Display that value at the bottom of your page: alert or document.write etc...

JSP: you decide.

If you are testing on a free public web site with lots of adverts added to your page then I'd tend to blame them.
×

Success!

Help @Gaurav_Khanna spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...