table sorter not working

Cybercop

I'm trying to sort my table with table sorter and it is not working

<html>
<head>
     <link rel="stylesheet" href="blueStyle.css" type="text/css" media="print, projection, screen" />
    <script src="http://tablesorter.com/jquery-latest.js" type="text/javascript"></script> 
    <script src="http://tablesorter.com/__jquery.tablesorter.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function() {      
        $("#myTable").tablesorter();
    }); 
    </script>
</head>
<body>
<table id="myTable" class="tablesorter" border="0" cellpadding="0" cellspacing="1"> 
<thead> 
<tr> 
    <th>Last Name</th> 
    <th>First Name</th> 
    <th>Email</th> 
    <th>Due</th> 
    <th>Web Site</th> 
</tr> 
</thead> 
<tbody> 
<tr> 
    <td>Smith</td> 
    <td>John</td> 
    <td>[email protected]</td> 
    <td>$50.00</td> 
    <td>http://www.jsmith.com</td> 
</tr> 
<tr> 
    <td>Bach</td> 
    <td>Frank</td> 
    <td>[email protected]</td> 
    <td>$50.00</td> 
    <td>http://www.frank.com</td> 
</tr> 
<tr> 
    <td>Doe</td> 
    <td>Jason</td> 
    <td>[email protected]</td> 
    <td>$100.00</td> 
    <td>http://www.jdoe.com</td> 
</tr> 
<tr> 
    <td>Conway</td> 
    <td>Tim</td> 
    <td>[email protected]</td> 
    <td>$50.00</td> 
    <td>http://www.timconway.com</td> 
</tr> 
</tbody> 
</table>
</body> 
 </html>   

The styling seem to work, but there is not sorting.

This is what the table looks like at the moment. enter image description here

gskema

You forgot to close a script tag </script> :

<script src="http://tablesorter.com/__jquery.tablesorter.min.js" type="text/javascript"/>

Correct markup :

<script src="http://tablesorter.com/__jquery.tablesorter.min.js" type="text/javascript"/></script>

I copied you code, added </script> and it works for me. Also jquery file from http://tablesorter.com/jquery-latest.js is really outdated (2008), consider using other cdn like //code.jquery.com/jquery-1.10.2.min.js or googleapis

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

table sorter not working

From Dev

semantic ui table sorter not working

From Dev

Jquery basic Table Sorter not working

From Dev

semantic ui table sorter not working

From Dev

jQuery table sorter not working for values that are fetched by AJAX

From Dev

Jquery Table Sorter isn't working , table headers are not responding

From Dev

Jquery Table Sorter isn't working , table headers are not responding

From Dev

Jquery table Sorter , sorting is working only one time

From Dev

Table Sorter Sorting not working in case of Ajax response data

From Dev

Table Sorter download as csv

From Dev

Override table sorter order

From Dev

JQuery Table Sorter on simple table

From Dev

yii table sorter customize ajaxurl

From Dev

Jquery table sorter on Angular dynamic table

From Dev

Jquery table sorter on Angular dynamic table

From Dev

Add sorting arrows to <th> like table sorter

From Dev

jQuery table sorter broken on dynamically built tables

From Dev

How to set fixed table width(not cell) in table sorter?

From Dev

table sorter (fork) sticky header not sticky in jquery modal dialog

From Dev

What is the difference in functionality between the table sorter pager widget and pager plugin?

From Dev

Trying to get the sorter positon to retain after a table refresh

From Dev

"e.handler.apply" is not a function in jquery table sorter

From Dev

Only one column sorting using JQuery Table Sorter Plug-In

From Dev

Issues with jquery Table sorter for 2 gridview on the same page

From Dev

the sorting of Gridview using jQuery Table Sorter of asp.net webfrom

From Dev

What is the difference in functionality between the table sorter pager widget and pager plugin?

From Dev

JQuery table sorter doesn't work with date range string

From Dev

Table sorter initial page size doesn't work

From Dev

Issues with jquery Table sorter for 2 gridview on the same page

Related Related

  1. 1

    table sorter not working

  2. 2

    semantic ui table sorter not working

  3. 3

    Jquery basic Table Sorter not working

  4. 4

    semantic ui table sorter not working

  5. 5

    jQuery table sorter not working for values that are fetched by AJAX

  6. 6

    Jquery Table Sorter isn't working , table headers are not responding

  7. 7

    Jquery Table Sorter isn't working , table headers are not responding

  8. 8

    Jquery table Sorter , sorting is working only one time

  9. 9

    Table Sorter Sorting not working in case of Ajax response data

  10. 10

    Table Sorter download as csv

  11. 11

    Override table sorter order

  12. 12

    JQuery Table Sorter on simple table

  13. 13

    yii table sorter customize ajaxurl

  14. 14

    Jquery table sorter on Angular dynamic table

  15. 15

    Jquery table sorter on Angular dynamic table

  16. 16

    Add sorting arrows to <th> like table sorter

  17. 17

    jQuery table sorter broken on dynamically built tables

  18. 18

    How to set fixed table width(not cell) in table sorter?

  19. 19

    table sorter (fork) sticky header not sticky in jquery modal dialog

  20. 20

    What is the difference in functionality between the table sorter pager widget and pager plugin?

  21. 21

    Trying to get the sorter positon to retain after a table refresh

  22. 22

    "e.handler.apply" is not a function in jquery table sorter

  23. 23

    Only one column sorting using JQuery Table Sorter Plug-In

  24. 24

    Issues with jquery Table sorter for 2 gridview on the same page

  25. 25

    the sorting of Gridview using jQuery Table Sorter of asp.net webfrom

  26. 26

    What is the difference in functionality between the table sorter pager widget and pager plugin?

  27. 27

    JQuery table sorter doesn't work with date range string

  28. 28

    Table sorter initial page size doesn't work

  29. 29

    Issues with jquery Table sorter for 2 gridview on the same page

HotTag

Archive