im not sure if can explain this well, im new to jquery, It goes something like this, I have a parent window and in the parent window there's a link button and when the link button was clicked a modal popup will appear and in the modal popup there's a button, when i click the button a new window will open and the popup window will close, my exact requirement is that, when the new window refresh or reload thats t开发者_开发技巧he time the parent window will also reload or refresh. They said this is possible in jquery.
Thanks in advance
Try if(window.parent) { window.parent.location.reload(); }
Or even better, do not use popups but inline "popups", i.e. divs - like those: http://jqueryui.com/demos/dialog/
精彩评论