Bug Tracker

Modify

Ticket #2088 (closed bug: invalid)

Opened 5 years ago

Last modified 4 years ago

Table sorter is not working fine

Reported by: saravanan Owned by: christian
Priority: major Milestone: 1.2.2
Component: plugin Version: 1.2.1
Keywords: tablesorter Cc:
Blocking: Blocked by:

Description

<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01 TransitionalEN"

" http://www.w3.org/TR/html4/loose.dtd">

<html> <head> <script type="text/javascript" src="../../jquery/jquery.js" ></script> <script type="text/javascript" src="../../jquery/class/jquery.tablesorter.pack.js"></script>

<script> $(document).ready(function(){

$("#example").tablesorter();

}); </script>

</head> <body> <link href="../../../../css/data.css" rel="stylesheet" type="text/css"> <?php

$aListRs = "result that ia am getting from db";

?> <table align="center" id="example" width="90%" cellpadding="3" cellspacing="2" class="lisingTableBorder" >

<thead>

<tr bgcolor="#666666" class="listingHeader" style="cursor:pointer">

<td>Product Id</td> <td>Product Name</td> <td>Product Desc</td>

</tr>

</thead> <tbody> <?

for ($i=0;$i<=$vTotList;$i++) {

?>

<tr>

<td><?=$aListRs[$i]?></td> <td><?=$aListRs[$i]?></td> <td><?=$aListRs[$i]?></td>

</tr>

<?

}

?> </tbody>

</table> </body> </html>

if i am using like that means its not working for table sorter so please check it and send the smaple coding.

Change History

comment:1 Changed 5 years ago by zimbatm

You could start with providing a link to a page that people can look at instead of the PHP script. You could also say WHAT doesn't work. Is it a javascript error ? Do you have any output in the javascript console ?

comment:2 Changed 5 years ago by joern

  • Keywords tablesorter added
  • Owner changed from joern to christian
  • Component changed from tests to ui

comment:3 Changed 5 years ago by paul

  • Component changed from ui to plugin

comment:4 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker,  http://dev.jqueryui.com .

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.