[jQuery] Re: Modal Window Page Refresh

2008-10-22 Thread tlphipps
window.location.reload(); Reference: http://www.w3schools.com/HTMLDOM/met_loc_reload.asp If you call this from an iframe, you might need to do: window.top.location.reload(); On Oct 21, 10:39 pm, kulman [EMAIL PROTECTED] wrote: Hi friends, Need your help: how to reload a page (which contains

[jQuery] Re: Modal Window Page Refresh

2008-10-22 Thread Alexandre Plennevaux
depending on which modal window you use, of course. Personally, I use jqModal, which has a handy onClose callback. I also had the need to, in some cases, refresh the main page after modal close. So i added an option variable (boolean) telling if it should refresh or not after closing the modal.