TableSorter plugin throws Object does not support this property or method

TableSorter plugin throws Object does not support this property or method

Hi All,

I'm getting the Object does not support  this property or method JS Error, when I use this plugin.

Below is my code.

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  4. <title>Insert title here</title>
  5. <script src="http://code.jquery.com/jquery-1.9.0.js"></script>
  6. <script src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
  7. <script type="text/javascript" src="jquery.tablesorter.min.js"></script>
  8. <link rel="stylesheet" type="text/css" href="style.css" />
  9. </head>
  10. <body>

  11. <table id="myTable" class="tablesorter"> 
  12. <thead> 
  13. <tr> 
  14.     <th>Last Name</th> 
  15.     <th>First Name</th> 
  16.     <th>Email</th> 
  17.     <th>Due</th> 
  18.     <th>Web Site</th> 
  19. </tr> 
  20. </thead> 
  21. <tbody> 
  22. <tr> 
  23.     <td>Smith</td> 
  24.     <td>John</td> 
  25.     <td>jsmith@gmail.com</td> 
  26.     <td>$50.00</td> 
  27.     <td>http://www.jsmith.com</td> 
  28. </tr> 
  29. <tr> 
  30.     <td>Bach</td> 
  31.     <td>Frank</td> 
  32.     <td>fbach@yahoo.com</td> 
  33.     <td>$50.00</td> 
  34.     <td>http://www.frank.com</td> 
  35. </tr> 
  36. <tr> 
  37.     <td>Doe</td> 
  38.     <td>Jason</td> 
  39.     <td>jdoe@hotmail.com</td> 
  40.     <td>$100.00</td> 
  41.     <td>http://www.jdoe.com</td> 
  42. </tr> 
  43. <tr> 
  44.     <td>Conway</td> 
  45.     <td>Tim</td> 
  46.     <td>tconway@earthlink.net</td> 
  47.     <td>$50.00</td> 
  48.     <td>http://www.timconway.com</td> 
  49. </tr> 
  50. </tbody> 
  51. </table>
  52. </body>
  53. <script type="text/javascript">

  54. $(document).ready(function()
  55. {
  56.    $("#myTable").tablesorter();
  57. });
  58. </script>
  59. </html>
The included js files and css are in the same folder as this html (jsp). 

Can you please let me know where am I going wrong?

Thanks a lot.