Hi I have a button that at the moment sends the user to a page with a form on it, however what i would like to do is when the user clicks the button a pop up window appears asking if this is a new call if so the user is sent to new.asp otherwise he is sent to old.asp
I have created this code for the if else statement but cannot work out how to achieve what I want from the button press.
can anyone help with what i am trying to do
Regards
Paul
I have created this code for the if else statement but cannot work out how to achieve what I want from the button press.
Code:
Dim submitme
<%
If submitme = "True" then
<a href="new.asp" target="mainFrame" class="buttonStyleMed">Home</a>
Else
<a href="old.asp" target="mainFrame" class="buttonStyleMed">Home</a>
End If
%>
Regards
Paul