Every line of 'jquery window reload' 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.
117 (function reload($) { 118 $.ajax({ 119 'url': '/reload-content/' 120 , 'cache': false 121 , 'success': function (text) { 122 if (text === 'css') { 123 $('style,link').remove(); 124 $('').appendTo('head'); 125 } else if (text === 'content') { 126 setTimeout(function () { 127 window.location.reload(true); 128 }, 200); 129 } else { 130 if (text && currentPath !== text) { 131 doReload = false; 132 window.location = text; 133 } 134 } 135 } 136 , 'complete': function () { 137 setTimeout(function () { 138 if (doReload) { 139 reload($); 140 } 141 }, 1000); 142 } 143 }); 144 })($);
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 }
97 async reload() { 98 99 await this[_tab_].reload(); 100 101 await this.waitForNavigation(); 102 }
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 }
110 function reload() { 111 const script = "mdViewer_reload()" 112 getMainWindow(mainWindow).webContents.executeJavaScript(script) 113 }
486 reload: function reload(forcedReload) { 487 488 // When reloading a page with POSTDATA the user will be prompted to 489 // confirm if he wants to resend the data. If the user accepted to resend 490 // the data, during the reload function call the onbeforeunload event is 491 // fired, otherwise if the event is not triggered then the last url from 492 // the history is loaded. 493 var isReloading = false; 494 window.addEventListener('beforeunload', function onBeforeunload() { 495 isReloading = true; 496 }); 497 498 window.location.reload(forcedReload); 499 500 if (!isReloading) { 501 history.back(); 502 } 503 }
52 setTimeout(function reload() { 53 browserSync.reload({ 54 stream: false 55 }); 56 }, 500); // browserSync reload delay
85 function _reload(event) { 86 var target = jQuery(event.target ? event.target : event.srcElement); 87 var base = linphone.ui.getBase(target); 88 linphone.ui.unload(base); 89 linphone.ui.load(base); 90 }
22 public async reload(): Promise { 23 await this.waitForNavigation(page.evaluate('location.reload()')); 24 }
221 export function reloadBrowser(url) { 222 if (url) { 223 global.location.href = url; 224 } else { 225 global.location.reload(); 226 } 227 }