Wednesday, 12 June 2013

Confirm Box on Window Close Event



<script language=\"JavaScript\" type=\"text/javascript\">   window.onbeforeunload = confirmExit;   function confirmExit() {       return \"You have attempted to leave .If you have made any changes to the fields without clicking the Save button, your changes will be lost.  Are you sure you want to exit this page?\";  }   </script>\");

No comments:

Post a Comment

C# LINQ Joins With SQL

There are  Different Types of SQL Joins  which are used to query data from more than one database tables. In this article, you will learn a...