close button
-
i know how to show the confirmation box , if the user is intended to close the web page. now the thing is , i want to execute the code on clicking the x button , after getting the confirmation box as yes. the code should execute only after selecting yes (means afte confimation)
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
-
i know how to show the confirmation box , if the user is intended to close the web page. now the thing is , i want to execute the code on clicking the x button , after getting the confirmation box as yes. the code should execute only after selecting yes (means afte confimation)
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
i think u did not understand the code which i gave confirmation box will return a bool (true/false) use that in ur javascript code
Amit Metkar 3i-infotech, Mumbai.
-
i know how to show the confirmation box , if the user is intended to close the web page. now the thing is , i want to execute the code on clicking the x button , after getting the confirmation box as yes. the code should execute only after selecting yes (means afte confimation)
Sonia Gupta Soniagupta1@yahoo.co.in Yahoo messengerId-soniagupta1 Love is Friendship and Friendship is Love....
hai sonia, use the below line in PageLoad() function... its working good... (lnk_close is refer the button name) lnk_close.Attributes.Add("onclick","javascript:window.close();");
pain gives gain