I would like to keep my pop-up layer open after parents reload. I do not have any closing codes that I can see for my pop-up layer? My onclick function works perfectly to update my car on the main page, but closes the layer at the same time, which I do not want. Why do I need to continue the pop-up layer after refreshing? Thanks!
& lt; Script type = "text / javascript" & gt; Reload function parent (url) {parent.parent.document.location = url; } & Lt; / Script & gt; & Lt; Button onclick = "reload parent" ('index_5.php') "& gt; Click me & lt; / Button & gt; Since the dialog box is not a separate page or tab, you can not escape from it.
The page was lost upon refresh. In this way, you must either keep track of the properties of the dialog and update the page again - or instead of refreshing the page, and partially update it using AJAX or other dynamic HTML methods.
No comments:
Post a Comment