Every line of 'reload iframe' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
36 function reloadIframe(id) { 37 document.getElementById(id).contentWindow.location.reload(); 38 }
89 function iframe_reload() { 90 var iframe = document.getElementsByTagName('iframe')[0]; 91 92 ractive.set('iframe_set_offset', true); 93 iframe.contentWindow.location.reload(true); 94 }
24 function reloadIframe () { 25 $("#iframe_view" ).attr( "src", function ( i, val ) { return val; }); 26 }
140 function closeIframeReload() { 141 //刷新父页面 142 window.parent.location.reload();//这个方法会发生页面重载,IE6下面会出现刷新弹窗。 143 window.parent.ymPrompt.doHandler("close",true); 144 }
97 async reload() { 98 99 await this[_tab_].reload(); 100 101 await this.waitForNavigation(); 102 }
22 public async reload(): Promise { 23 await this.waitForNavigation(page.evaluate('location.reload()')); 24 }
110 function reload() { 111 const script = "mdViewer_reload()" 112 getMainWindow(mainWindow).webContents.executeJavaScript(script) 113 }
46 function reload(win) { 47 if (process.env.NODE_ENV === 'development') { 48 win.loadURL(`file://${__dirname}/../app/index.html`); 49 } else { 50 win.loadURL(`file://${__dirname}/app/index.html`); 51 } 52 }
90 function reloadPageImpl() { 91 // Hide everything (on entire page, not only $entryPoint) 92 if (nvl(options.clearBody, true)) { 93 $('body').html(''); 94 } 95 96 // Reload window (using setTimeout, to overcome drawing issues in IE) 97 setTimeout(function() { 98 if (options.redirectUrl) { 99 window.location.href = options.redirectUrl; 100 } else { 101 window.location.reload(); 102 } 103 }); 104 }
221 export function reloadBrowser(url) { 222 if (url) { 223 global.location.href = url; 224 } else { 225 global.location.reload(); 226 } 227 }