Good point Josh. I'll give that a shot.

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Tuesday, September 11, 2007 3:51 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: tablesorter plugin not working...


Andy -
 
When I was first using the plugin, I noticed that it didn't seem to do
anything when I first clicked on the column header.  If your table loads up
already sorted correctly, the impression will be that nothing is happening
on that first click - when in fact it just looks like nothing is happening,
because the first click will just return the table sorted in the same way as
when it was loaded onto the page.
 
Try clicking on the column headers multiple times and see if you notice any
activity.  The second click should sort in reverse.
 
-- Josh
 
 

----- Original Message ----- 
From: Andy  <mailto:[EMAIL PROTECTED]> Matthews 
To: jquery-en@googlegroups.com 
Sent: Tuesday, September 11, 2007 1:31 PM
Subject: [jQuery] Re: tablesorter plugin not working...

Nope...
 
I even tried copying the code directly from the TS demo page and it still
never ran. At least I didn't get an error in FF with the demo code. Anyone
else have an idea?

  _____  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh Nathanson
Sent: Tuesday, September 11, 2007 2:53 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: tablesorter plugin not working...


Andy - I think you need to use "th" tags in the header row, rather than
"td".  Give that a try.
 
-- Josh

----- Original Message ----- 
From: Andy Matthews <mailto:[EMAIL PROTECTED]>  
To: [jQuery] <mailto:jquery-en@googlegroups.com>  
Sent: Tuesday, September 11, 2007 12:27 PM
Subject: [jQuery] tablesorter plugin not working...

I've tried it with multiple versions of jQuery including 1.1.3, 1.1.4, and
1.2, even referencing the jQuery file living on the tablesorter website. In
IE nothing happens, no errors, but no worky. In Firefox, I get an error in
the tablesorter plugin:
 
r[row] has no properties
http://localhost/dealerskins/wwwroot/ds2/includes/scripts/jquery.tablesorter
.unpacked.js
Line 293
 
Here's a snippet of my code:
 
jQuery:
$('#leadsTable').tablesorter();
 
HTML:
      <table id="leadsTable">
      <thead>
       <tr><td class="leadName">Customer Name</td></tr>
      </thead>
      <tbody>
       <tr><td class="leadName">Vic Acevedo</td></tr>
       <tr><td class="leadName">Adrian Adame</td></tr>
       <tr><td class="leadName">Edgar Aguilar</td></tr>
       <tr><td class="leadName">Terri Alexander</td></tr>
       <tr><td class="leadName">Jane Alford</td></tr>
      </tbody>
      </table>
 

____________________________________
 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 

<<dealerskinslogo.bmp>>

Reply via email to