N
Nithya Venkatachalam
Hi,
<body onUnload="unloadhandler();">
<input type="button" name="Save" onClick="onclickhandler();"/><br>
function onclickhandler()
{
document.location.href="http://www.google.com";
}
so, on clicking button , unloadhandler is called.
function unloadhandler()
{
i want the name of the button clicked(Save) here.
is it possible?
}
<body onUnload="unloadhandler();">
<input type="button" name="Save" onClick="onclickhandler();"/><br>
function onclickhandler()
{
document.location.href="http://www.google.com";
}
so, on clicking button , unloadhandler is called.
function unloadhandler()
{
i want the name of the button clicked(Save) here.
is it possible?
}