asp

  • Thread starter Thread starter Ahmd
  • Start date Start date
A

Ahmd

Pls help me.. pls c this code

<FORM Action="<%=Request.ServerVariables("SCRIPT_NAME") %>"
Method=POST>

<Input Type=Hidden name="CurrentPage" Value="<%=CPage%>" >
<% If CPage > 1 Then %>
<Input type=Submit Name="Submit" Value="Previous">
<% End IF%>
<% If CPage <> TotPage Then %>
<Input type=Submit Name="Submit" Value="Next">
<% End If %>
</FORM>


this function i want to call when i click an image. i mean i have
previous and next image in the page. when i click previous image i
want to call this function

thanks in advance

ahmed
 
Pls help me.. pls c this code

<FORM Action="<%=Request.ServerVariables("SCRIPT_NAME") %>"
Method=POST>

<Input Type=Hidden name="CurrentPage" Value="<%=CPage%>" >
<% If CPage > 1 Then %>
<Input type=Submit Name="Submit" Value="Previous">
<% End IF%>
<% If CPage <> TotPage Then %>
<Input type=Submit Name="Submit" Value="Next">
<% End If %>
</FORM>

this function i want to call when i click an image. i mean i have
previous and next image in the page. when i click previous image i
want to call this function

thanks in advance

ahmed

<script runat=server>

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load

If Request.Form("Submit") = "Previous" Then
' to call this function
End If

End Sub

</script>
 
<script runat=server>

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load

If Request.Form("Submit") = "Previous" Then
' to call this function
End If

End Sub

</script>- Hide quoted text -

- Show quoted text -

Pls im looking for classic Asp code.. i think u wrote asp.net code.
 
Pls im looking for classic Asp code.. i think u wrote asp.net code.- Hide quoted text -

yes, but you've posted your quesion to
microsoft.public.DOTNET.framework.ASPNET

Classic ASP code will be not that different

If Request.Form("Submit") = "Previous" Then
' to call this function
End If
 
Pls im looking for classic Asp code

I already told you - you're in the wrong newsgroup...

Please post questions regarding ASP to:
microsoft.public.inetserver.asp.general

This group is for ASP.NET
 
Back
Top