Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access_asp thread: Back Button problem


Message #1 by "Oo, Thit Lwin" <Thit@d...> on Tue, 22 Oct 2002 00:45:38 -0400
Hi

	I got a problem with Back button of IE toolbar. My asp page is
submitted self on two radio buttons onclick event. After two or three times
submit, I click Back button, the page display is missing. It show, radio P
is selected instead of radio S. Also radio S is selected instead of radio P.
	How can I solve????

<%@ Language=VBScript %>
<%  Option Explicit %>
<%  Response.Buffer=True %>

<HTML>
<head>
	<title>Test</title>
</HEAD>
<body>
	<form name="mForm" action="post.asp" method="post">
		<%
		 If Request("S500")="P" Then %>
			<input type="radio" name="S500" value="P" checked
onclick="ProdValue(this.value);">P&nbsp;&nbsp;&nbsp;
			<input type="radio" name="S500" value="S"
onclick="ProdValue(this.value);">S
		<%Else%>
				<input type="radio" name="S500" value="P"
onclick="ProdValue(this.value);">P&nbsp;&nbsp;&nbsp;
				<input type="radio" name="S500" value="S"
checked onclick="ProdValue(this.value);">S
		<% End If %>
		<br>
		<%=Request("S500")%>
		<input type="submit" value="Click">
	</form>

</BODY>
</HTML>
<% Response.Flush %>


    Regards,
  Thit Lwin Oo
 Dendrite Japan


Message #2 by "Ken Schaefer" <ken@a...> on Tue, 22 Oct 2002 15:01:14 +1000
It is unclear what your problem is, but it does not seem to be an ASP
problem, or an Access problem, so I think you are on the wrong email list.
You might want to try on a client-side list to see if this is a known issue.

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Oo, Thit Lwin" <Thit@d...>
Subject: [access_asp] Back Button problem


: I got a problem with Back button of IE toolbar. My asp page is
: submitted self on two radio buttons onclick event. After two or three
times
: submit, I click Back button, the page display is missing. It show, radio P
: is selected instead of radio S. Also radio S is selected instead of radio
P.
: How can I solve????
:
: <%@ Language=VBScript %>
: <%  Option Explicit %>
: <%  Response.Buffer=True %>
:
: <HTML>
: <head>
: <title>Test</title>
: </HEAD>
: <body>
: <form name="mForm" action="post.asp" method="post">
: <%
: If Request("S500")="P" Then %>
: <input type="radio" name="S500" value="P" checked
: onclick="ProdValue(this.value);">P&nbsp;&nbsp;&nbsp;
: <input type="radio" name="S500" value="S"
: onclick="ProdValue(this.value);">S
: <%Else%>
: <input type="radio" name="S500" value="P"
: onclick="ProdValue(this.value);">P&nbsp;&nbsp;&nbsp;
: <input type="radio" name="S500" value="S"
: checked onclick="ProdValue(this.value);">S
: <% End If %>
: <br>
: <%=Request("S500")%>
: <input type="submit" value="Click">
: </form>
:
: </BODY>
: </HTML>
: <% Response.Flush %>


  Return to Index