Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

URGENT - Parent Page redirect w/querystring

Posted on 2006-06-23
4
Medium Priority
?
377 Views
Last Modified: 2008-01-09
I have an archived orders page that is popped up from an un-archived orders page.

So if I am on UnArchived Orders page, I click the link to popup the Archived Orders Page, on this page is a list of orders that have been archived, I'd like to be able to click on an order and have the parent page redirect to that orders page, while ensuring the Archived Orders page stays on top....
0
Comment
Question by:kevp75
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 2000 total points
ID: 16969460
Alright, have this on your archived orders page links:

<a href="#" onclick="goToPage('archived/order13414.php'); return false;">

and then:

function goToPage(url)
{
    if (window.opener)
    {
        window.opener.location.href = url;
    }
}
0
 
LVL 25

Author Comment

by:kevp75
ID: 16969544
will that pass a querystring as well

ie:<a href="#" onclick="goToPage('archived/order13414.asp?id=12345'); return false;">
0
 
LVL 36

Expert Comment

by:Zyloch
ID: 16969561
That will pass the query string. In short, all the function does is navigate to the new page just like clicking on a link does.
0
 
LVL 25

Author Comment

by:kevp75
ID: 16973353
sweet.  thank you
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question