PDA

Click to See Complete Forum and Search --> : How to specify TARGET in ASP?


wernerh
Feb 9th, 2001, 02:22 AM
How can I specify the target frame in an ASP response.redirect ???

response.redirect "mypage.asp" "<TARGET = 'main'>"???????????

sebs
Feb 9th, 2001, 10:48 AM
you cant specify a target in ASP but you can do:


if choice = blabla then
%>
<script language=javascript>
parent.frames.main.location='yourRedirection';
</script>
<%
else
%>
<script language=javascript>
parent.frames.main.location='yourRedirection';
</script>
<%
end if