|
|
|
|
|
| | |
| |
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Problem with if ..then... else.. |
|
From: |
Elmo |
|
Date: |
5/22/2003 3:36:15 AM |
|
IP: |
210.125.31.49 |
Hi guyz...I can do it in different and complex way but i need more simple.
Here is proble:
Can you explain why Script is not workin here, if use this its not showing Message but just redirecting it to the page i showed. I need to show message (MsgBox)
<% if x>10 then %>
<script language="VBScript">
MsgBox "Your number is bigger than 10"
</script>
<% Response.Redirect("x10.asp")
Else %>
<script language="VBScript">
MsgBox "Your number is less than 10"
</script>
<% Response.Redirect("10x.asp")
End if %>
|
Follow Up - Re: Problem with if ..then... else.. - sumit 7/12/2003 5:34:35 AM
Follow Up - Re: Problem with if ..then... else.. - prasanth 9/23/2003 7:18:02 AM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|