> 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
On May 31, 12:15 pm, Alexey Smirnov <alexey.smir
@gmail.com> wrote:
> On May 31, 8:57 am, Ahmd <mkahme
@gmail.com> wrote:
> > 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>- Hide quoted text -
>
Pls im looking for classic Asp code.. i think u wrote asp.net code.
-----------------------------------------------Reply-----------------------------------------------
On May 31, 11:44 am, Ahmd <mkahme
@gmail.com> wrote:
> 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
-----------------------------------------------Reply-----------------------------------------------