Skip to main content

Bug Tracker

Side navigation

#2088 closed bug (invalid)

Opened December 23, 2007 11:02AM UTC

Closed October 12, 2009 11:15PM UTC

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.

Attachments (0)
Change History (4)

Changed December 26, 2007 01:11PM UTC by zimbatm comment:1

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 ?

Changed January 24, 2008 07:32PM UTC by joern comment:2

component: testsui
keywords: → tablesorter
owner: joernchristian

Changed March 14, 2008 04:08PM UTC by paul comment:3

component: uiplugin

Changed October 12, 2009 11:15PM UTC by dmethvin comment:4

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 .