SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Opener.location.href

    Hi all,
    I have a problem
    I am trying to relaod my parent page
    From a Script dettaglio.asp I show the content of a recordset and for every line can execute the following actions: creation, modifies, and reset.

    When from dettaglio.asp I click an icon I disable a line of the recordset executing disabilita.asp which executes the following Javascript instructions:

    opener.focus();
    opener.location.href=opener.location;
    self.close();

    In this way I update the DB, return the control and reload my parent page (it changes the display of an icon).

    The same thing does not happen if I execute crea.asp or modifica.asp before executing disabilita.asp.
    These scripts make a redirect to messaggio.asp.
    This last Script contains the function key 'close' that recalls the three Javascript instructions of which above.
    In this case the control goes back to the mother page dettaglio.asp but the same one needs a manual refresh to change the icon associate to the script disabilita.asp.

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you try:
    opener.location.reload();

    ?

  3. #3
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you !


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
  •