Bug Tracker

Opened 12 years ago

Closed 10 years ago

#2088 closed bug (invalid)

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:
Blocked by: Blocking:

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 (4)

comment:1 Changed 12 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 12 years ago by joern

Component: testsui
Keywords: tablesorter added
Owner: changed from joern to christian

comment:3 Changed 12 years ago by paul

Component: uiplugin

comment:4 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

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 .

Note: See TracTickets for help on using tickets.