i am using the object tag to load the pdf... i have been using onreadystatechanged to remove the loading spinner. its working fine for IE and Firefox but in Chrome and safari the loading spinner does not stop..it keeps spinning this is my object tag code <object class="boxfull" type="application/pdf" onreadystatechange="return hideloading();" data="@Url.Action("ReportPDF", new { ReadingID = ViewBag.ReadingID})"> <object> hideloading() is a function which contains function hideloading(a) { $("#loading-overlay, #loading").hide(); return false; } i am hiding the loading spinner and overlay.. But its not solved for Chrome and Safari.. i think its not taking the event of onreadystatechange. Plz help
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)