This topic is locked
[SOLVED]

 BACK TO LIST

6/18/2004 3:20:46 AM
ASPRunnerPro General questions
B
BCHESKIS author

On certain pages I need the BACK TO LIST link on the _edit page to go to the DEFAULT.asp page (as opposed to the the page that it originated). So I changed:
<a href=default.asp onClick=""GotoPage( " & mypage & "); return false;"">Back to list</a>


and
<a href=default.asp onClick="GotoPage('<%=mypage%>'); return false;">Back to list</a>
I know that I need to also change the OnClick function, however I'm getting nothing but errors when I do so.
Ideas?

Sergey Kornilov admin 6/18/2004

you can simply use hyperlink that points to default.asp for this purpose:

<a href=default.asp>Back to list</a>