私はこれを行うための提案/回避策またはより良い方法を探しています
function showPDF(url){
$("#divId")
.html('<div id="loading">Loading....</div>
<iframe id="modalIframeId" width="100%" height="100%"
src='+url+' marginWidth="0" marginHeight="0" frameBorder="0"
scrolling="auto" title="Dialog Title"
onload="hideProgress();">Your browser does not support</iframe>')
.dialog('open');
return ;
}
function hideProgress(){
$('#loading').hide();
}
助けてくれてありがとう