Tutorials to .com

Tutorials to .com » Dotnet » Foundation » Click the Close button to capture events

Click the Close button to capture events

Print View , by: iSee ,Total views: 6 ,Word Count: 140 ,Date: Fri, 21 Aug 2009 Time: 3:59 AM

<1> only in your page script to add the following to ..
function window.onbeforeunload ()
event.returnValue = "the page will be closed, comfirm to close?";

<B> The purpose of the browser through the capture click event of the Close button to close the page before the message is given, indicating the closure.

<C> applications continue to expand in the back to add Ajax part of the background to the operation code, can clear the session operation to release the purpose of space.

<D> bs structure is mainly used in the application of


.NET foundation Articles

Can't Find What You're Looking For?

Rating: 5.0


No comments posted.