How can I incorporate the following javascript code in an ASP.NET
application (using VB.NET)
Like the following
If textbox1.text = "" then
<SCRIPT LANGUAGE="JavaS cript" runat="server">
setTimeout("go_ now()",5000);
function go_now () { window.location .href =
"http://testweb.cs.ul.i e/PGrad/JoanneC/Input_Methods.a spx"; }
</SCRIPT>
end If
Since when I used the response.redire ct method, it does not allow
delay before it redirect to the page.
Thanks
Joanne
application (using VB.NET)
Like the following
If textbox1.text = "" then
<SCRIPT LANGUAGE="JavaS cript" runat="server">
setTimeout("go_ now()",5000);
function go_now () { window.location .href =
"http://testweb.cs.ul.i e/PGrad/JoanneC/Input_Methods.a spx"; }
</SCRIPT>
end If
Since when I used the response.redire ct method, it does not allow
delay before it redirect to the page.
Thanks
Joanne
Comment