i can think of two ways, one with meta refresh tag, and another with simple javascript.
First one, with meta tag; put this in your head section of page:
Second one, with javascript block can look like this:
Both scripts redirect after 15 seconds. With second one, you can create URL string with params. If you want to inject something user entered in TextBox, then you use inline vb.net (this is js inside aspx):
var element=document.getElementByID(‘< %= TextBox1.ClientID %>‘);
var url=”www.google.com?query=”+element.value;
(all this put inside function() )
Comments
Leave a comment Trackback