The easiest way to show loader.gif on a web page as:
<div id="divloader" class="ShowLoader"> <img id="imgUpdateProgress" class="loaderIMG" src="../../images/newloader.gif" alt="Loading ..." title="Loading ..." /> </div>
CSS code
<style> .loaderIMG { padding: 10px; position: fixed; top: 45%; left: 45%; width: 80px; } .HideLoader { display: none; } </style>
JQuery Code:
$(document).ready(function () { $("#divloader").addClass("HideLoader"); });
First, check whether your jQuery library is working or not, showing a msg warning, and then check that the path to it is from a browser validation element.
source share