Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Row in table

Status
Not open for further replies.

cylly

Programmer
Oct 17, 2002
23
CA
I am trying to select a row in a table, click a 'view' button then open a new page with detailed information of the row I clicked.
How do I pass the information from the first page to the 'view details' page?

The table is dynamically loaded.
I am using an IE browser.

Thanking you in advance for your help.
 
by the URL :
pageURL/fileName.html?param1=value&param2=value

in the page, the parameters will be accessible with :
document.location.search

the search is equals to : "param1=value&param2=value"

I think..!
..but im not sure that this solution work locally. you must pass through a web server.

zac
 
I've done this using cookies - can send some example code if you want
 
One more option is to use frames. When you click the "View" button, pass the values to the parent frame. When the next page is loaded, have it grab the values from the parent frame. One problem though is they start on the first page again if they hit the refresh button. Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top