Hi Rupen!!
Since you want to reload the page only once. setTimeout function allows you to call "CallMe" function
after given timelimits,but how do u know whether the page should be reload or it is already reloaded.
e.g below code will reload the page in infinite times.
<script>
var i
i=0
window.setTimeout('CallMe()',1000);
function CallMe()
{
document.getElementById("mydiv").innerHTML=documen t.getElementById("mydiv").innerHTML+"--"+i
i++;
alert("j"+window.location.search);
location.href="tmp.html"
}
</script>
<div id="mydiv"></div>
++++++++++++++++++++++
http://www.javascriptkit.com/javatutors/send1.shtml
and next page http://www.javascriptkit.com/javatutors/send2.shtml?MyValue.value='JavaScript'&MyTest.valu e='Kit'
++++
Or
+++
here you can find out how to search a querystring .
http://www.eggheadcafe.com/articles/20020107.asp
U will have to send some info to the CallMe function ,when to reload it,for that
u have to use querystring,cookies,or if it is asp/jsp/php(server side lang) then user form fields.
Hope this will help you
Cheers :)
vinod