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?";

  }

</script>

Monday, December 14, 2009

Some useful links

Ten Must-Have Tools Every Developer Should Download Now

http://msdn.microsoft.com/en-us/magazine/cc300497.aspx

Software Engineering Radio

http://www.se-radio.net/

 

http://raphaeljs.com/

 

Birmingham Scholar Ship             

http://www.eastchance.com/scholarship.asp?id=566

 

"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