By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,423 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

asp

P: n/a
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

May 31 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"Ahmd" <mk*******@gmail.comwrote in message
news:11**********************@q75g2000hsh.googlegr oups.com...
Pls help me.. pls c this code
Please post questions regarding ASP to
microsoft.public.inetserver.asp.general

This group is for ASP.NET
--
http://www.markrae.net

May 31 '07 #2

P: n/a
On May 31, 8:57 am, Ahmd <mkahme...@gmail.comwrote:
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>

May 31 '07 #3

P: n/a
On May 31, 12:15 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On May 31, 8:57 am, Ahmd <mkahme...@gmail.comwrote:


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 -

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

May 31 '07 #4

P: n/a
On May 31, 11:44 am, Ahmd <mkahme...@gmail.comwrote:
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

May 31 '07 #5

P: n/a
"Ahmd" <mk*******@gmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
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
--
http://www.markrae.net

May 31 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.