
trying to pass an anchor from one page to another
Two suggestions:
1) Create a Session variable called CurrentRow or
something, and then the data gets updated, that variable
gets set to whichever row we're talking about. The main
page can then use that value to shoot the user to the
appropriate row.
2) Pass the current row as a QueryString item. Once the
data are updated in the small window, run the following
code:
self.opener.location="myMainPage.asp?CurrentRow="<%
=VariableContainingCurrentRow %>
self.close
Solution #2 might have browser compatability issues. I
don't think IE 5 recognizes self.opener in JavaScript.
Netscape should, though.
Quote:
>-----Original Message-----
>Hi folks !
>I have a page where the user can edit data in a row.
When the user
>clicks on an icon, it upens up a new window, where they
can edit the
>data. When they click submit, the data is updated and
the origional
>page is refreshed. The thing is, I need for the page to
go back to
>the row that was being edited....
>Any Ideas ?
>TIA
>C
>.