Adsense
Popular Posts
- Code update from PHP 7.4 to PHP 8.1 - PhpSpreadsheet
- MySQL workbench -"Could not decrypt password cache"
- Code update from PHP 7.4 to PHP 8.1 - Worksheet/Iterator.php
- Rendering HTML tags inside textarea
- axios handle blob type data
- Unix Utils and wget in Windows
- Setup vi syntax for PHP
- increase mysql query speed
- EXCEL return to the next line in the same cell
- git svn conversion
Tuesday, February 3, 2015
Click save button, parent window refresh using JavaScript
open a window in new tab in firefox:
window.open('SITAview_form.php?sid=' + stakeholder_id + '&term=' + term + '&cid=' + course_id+'&pad_id=' + pad_id);
Now I want to refresh parent window when click save button in this window:, window.opener.location.reload(); is used to reload parent window in JS:
$('div.box#Contract_basic_Info input.saveButton').click(function() {
saveBasicInfo();
window.opener.location.reload();
});
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment