Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2004
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Refresh Opened showModalDialog window

    Hi all,

    I would like to know how to refresh a Opened showModalDialog window.

    I used ...
    Code:
    	foo = window.showModalDialog('FULL_path_to_script.php', window);
    	window.self.location.reload(true);
    ... but what I get is a New showModalDialog opening, but NOT into the same window, namely, what I get is the effect of a HTML "_blank" opening a new showModalDialog.

    I used window.location.reload(true) with the same result

    Any help is welcome. Thank you very much in advance.

    Mapg

  • #2
    Regular Coder
    Join Date
    Oct 2003
    Location
    on a ship
    Posts
    574
    Thanks
    1
    Thanked 6 Times in 5 Posts
    for one try not naming your ModalDialog 'window'.
    bad joojoo...

    and if all fails, close the dialog and reopen it instead of refreshing it.
    I make no attempt at pretending like I'm a professional. I offer help with what knowledge I do have.

  • #3
    New Coder
    Join Date
    Jul 2004
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No problem. I have solved this issue with AJAX.

    Thank you for your reply. I take note about the window issue for future cases.

    Mapg


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •