A
aroraamit81
Hi,
My new requirement is to transfer my page to some other location on
refreshing the page or can say when the user press F5 key, but the page
gets post back the same should not happen, I am using the code below
but it does not work out...
So any help??????
<HTML>
<BODY onunload="Refresh();">
</BODY >
</HTML>
<script>
function Refresh()
{
alert(window.hdd.value);
location.href="DD.htm";
alert(location.href);
}
</script>
Regards,
Amit Arora
My new requirement is to transfer my page to some other location on
refreshing the page or can say when the user press F5 key, but the page
gets post back the same should not happen, I am using the code below
but it does not work out...
So any help??????
<HTML>
<BODY onunload="Refresh();">
</BODY >
</HTML>
<script>
function Refresh()
{
alert(window.hdd.value);
location.href="DD.htm";
alert(location.href);
}
</script>
Regards,
Amit Arora