?
Solved

Loader.gif does not work in IE11

Posted on 2014-02-10
3
Medium Priority
?
1,867 Views
Last Modified: 2014-02-25
Hello,
  I have a Loader image on a web page that should show with each AjAX call, I see the icon on FF but it does not show in IE

HTML
<img src="img/loading.gif" id="loading-indicator" style="display:none" />

Open in new window


Jquery --init script
<script type="text/javascript" charset="utf-8">
	$(document).ready(function() 
	{
		$("#loading-indicator").ajaxStart(function() 
				{ $(this).show(); })
        .ajaxStop(function() 
        		{ $(this).hide(); });
		
		initialize();
	}); 
</script>

Open in new window

CSS
#loading-indicator {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

Open in new window


Thanks for your help
0
Comment
Question by:SiemensSEN
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 800 total points
ID: 39849454
What version of jQuery are you using.

From the DOCs:

As of jQuery 1.8, the .ajaxStart() method should only be attached to document.

Do you have a link to your site we can see.
0
 

Author Comment

by:SiemensSEN
ID: 39849924
Thanks. sorry. it is an internal site.

It works in FF but Not IE. Is the CSS correct?
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39849965
unfortunately css doesn't work in isolation, so it's impossible to see what else is being applied. can you upload a demo to an online server .doesn't need to be your full code. just enough to show the problem
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question