Results 1 to 2 of 2

Thread: location.href

  1. #1
    Micky Guest

    Default location.href

    Inside a button, I&#039m using location.href to take the user back to the home page. I also need to set the target since the site is using framesets. If I don&#039t use target="_top", I have frames opening up in frames. I can get this working fine in a regular <A href> tag but not in the button onclick event. Any ideas?

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: location.href

    try this<BR><BR>window.Parent.location.replace("PageNa me.asp")

Posting Permissions

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