Thursday, December 17, 2009

Notifying user before leaving without saving

<script language="JavaScript">

  var needToConfirm = true;


  window.onbeforeunload = confirmExit;

  function confirmExit()


    if (needToConfirm)

      return "You have attempted to leave this page.  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?";



Monday, December 14, 2009

Some useful links

Ten Must-Have Tools Every Developer Should Download Now

Software Engineering Radio


Birmingham Scholar Ship     


"Twelve Priceless Qualities of Success:
1. The value of time.
2. The success of perseverance.
3. The pleasure of working.
4. The dignity of simplicity.
5. The worth of character.
6. The power of kindness.
7. The influence of example.
8. The obligation of duty.
9. The wisdom of economy.
10. The virtue of patience.
11. The improvement of talent.
12. The joy of originating."
Marshall Field