jQuery: Update Note

A note when I need to update jQuery library from jQuery version 1.8.3 to latest version (1.10.2).

  • .load event -
    This method is a shortcut for .on( "load", handler ). .load event deprecated in V 1.8.
  • .live() -
    For this also use .on() now.   .live() removed in V 1.9
  • .error() -
    The error() method was deprecated in jQuery version 1.8.

Not much jQuery is used here on Web Scripting Blog, but these changes are easy to miss and detect error. .live() is used for Facebook Plugin popup for first time visitor (without cookie).