MY bLOG

Wednesday, 18 December 2013

Refresh web page

How to refresh a web page with out any button click events 
             
                we can achieve this writing a single line in aspx  page i.e, on html page in head section 
<meta http-equiv="refresh" content="30/>

After 30 sec it will be refreshed if you want to redirect to another page after refreshing then set an url  in the content
<meta http-equiv="refresh" content="30;url=http://www.google.com/> 

then after 30 secs it will be redirected to refresh button.
 or else 
in your project if you want to redirect to certain page then mention  localhost url in the content.


I hope it will help you