trying to pass an anchor from one page to another 
Author Message
 trying to pass an anchor from one page to another

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



Wed, 07 Dec 2005 04:04:00 GMT  
 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
>.



Thu, 08 Dec 2005 00:53:24 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error 800A0BB9 when trying to pass the Sql statement from page to page

2. How To - Pass the content of a variable on one page to another page

3. Passing variables from one web page to another web page using JavaScript

4. Trying to combine two postscript print files into one duplex page

5. Trying to integrate two files on one page

6. can i pass a check box value from one page to another

7. Passing string variables from one page to another

8. pass vb var. from one page to another

9. Passing parameters from one HTML page to another

10. can one anchor a form field? Newbie question

11. HELP: Anchoring a form on top of another one

12. David's HTML Tip 01 - Home Page and Favorites Anchor

 

 
Powered by phpBB® Forum Software