Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7568471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:56:04+00:00 2026-05-30T14:56:04+00:00

This javascript I have is supposed to be very simple. It is, but IE

  • 0

This javascript I have is supposed to be very simple. It is, but IE is not making it at all. I have made 2 posts on here trying to get this fixed and NOTHING. I have been working on this for 2 weeks. I’ve googled everything, I’ve used debugger a million times and NOTHING. What I’m trying to do is have a function that calls a php file on my website that gets the percent of the file being uploaded. So It uses ajax to call the page and get the custom header that gives the percent and then that changes the width of a div element. Simple right? Well IE is stuck at 0% at all times, on all versions of IE (including 9).

Here is the script: http://pastebin.com/RBLygM9H

I have read that it could be because of the way I am calling the function initially. It is called like this:

onchange="checkForm(this.form, 'This is a just a random ID');"

I used the watch function with IE debugger and paused it and checked if the function is even getting the proper variables and it is. I also checked the headers and it only sends one header at the beginning and never does it again. Whenever I pause the debugger is always stops at this:

setTimeout(function(){ prog_bar(upload_id); }, 1000);

yet it never claims it as an error, it’s only when I pause it. I checked the Console tab, Breakpoints, Locals, Watch and Call stack there is nothing in them except for Call Stack. All it says is Anonymous function and gives me no more information. Also, I have got it to change percents before but I have no idea what caused it and its happens randomly. Also I have getting this error before:

The breakpoint is not valid. no executible code is asossiated with this line.

I’m not quite sure what is means but I was never able to replicate it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T14:56:05+00:00Added an answer on May 30, 2026 at 2:56 pm
    1. Recode this using JQuery or some other framework, it really does
      help.
    2. Try inserting some alerts, see where stuff actually
      happens.
    3. It’s IE, add some form of cache breaking, by using datetime http://blog.4webby.com/posts/view/10/ajax_how_to_prevent_ie_from_caching_ajax_get_requests
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not very comfortable using javascript so trying my hands to use this
I have a very simple tab switching code. Basically HTML looks like this: <ul
I have a javascript function. This function is supposed to populate a html select-box
Referring on this question , I have a similar -but not the same- problem..
I have been trying everything I can to get this script to work and
I have this javascript code below that uses jquery, it is suppoed to be
1) I have this Javascript array: lang=new Array(); lang[sq]=Albanian; lang[ar]=Arabic; lang[en]=English; lang[ro]=Romanian; lang[ru]=Russian; 2)
I have this Javascript data: [{id:123,type:test},{id:154,type:another}] How would you transform that into something so
i have this javascript code to which i want to add the jquery fade-in
I have this JavaScript code: for (var idx in data) { var row =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.