Results 1 to 2 of 2

Thread: DHTML Window Widget - hide and refresh iframe

  1. #1
    Join Date
    Aug 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DHTML Window Widget - hide and refresh iframe

    1) Script Title: 1) Script Title: DHTML Window Widget

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

    3) Describe problem:

    I understand that this event will hide() the window in "iframe" mode, is it possible to refresh the parent page too?

    Code:
    <input class="button" type="button" value="Close and Refresh" name="close" onClick="parent.votewin.hide()" />
    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    9,894
    Thanks
    3
    Thanked 966 Times in 954 Posts
    Blog Entries
    15

    Default

    Try this:

    Code:
    <input class="button" type="button" value="Close and Refresh" name="close" onClick="parent.votewin.hide(); parent.location.reload(true)" />

Bookmarks

Posting Permissions

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