asp

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
 
G

Guest

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>
 
A

Ahmd

<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.
 
G

Guest

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
 
M

Mark Rae

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top