AD
Administrator
Syncfusion Team
June 8, 2006 08:36 AM UTC
Hi,
The following code is for getting the textbox value while closing the window
window.onbeforeunload = function()
{
if((window.event.clientX<0) || (window.event.clientY<0))
{
onBeforeUnloadAction();
}
}
function onBeforeUnloadAction()
{
var textValue;
textValue=document.getElementById(''TextBox'').value;
alert("Text Value : "+textValue);
}
Thanx