But,if there is a postback ( update record) on the current page, it won't work..
I need to go back to the specific page ( queue.aspx) with the same stage.
Ont he queue.aspx page , you can query a gridview and go to the detailpage.
On the detail page, I have can go back to the previous page by using above Java script.however, If there are postbacks ( like update record) on the detail page, the java script won;t work, because it will take you to the previous stage, not the queue.aspx page with the same query result in gridview.
It seems like i need to session variables... Any idea?