spacer.png, 0 kB
spacer.png, 0 kB
Home arrow Javascript arrow Javascript and page refresh
Javascript and page refresh PDF Print E-mail

The best way to manage HTML page refresh is to use Javascript code (different from the simple HTML based method).
In the following example however a meta-tag refresh will be used in case of non capable Javascript browser.

  <meta http-equiv="refresh" content="2">

<script language="Javascript">

  var url="";

function ref(){


function refresh(){


<body onload="ref()">

You will be redirect to within two seconds

Last Updated ( venerd́, 30 novembre 2007 )
< Prev   Next >
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB