[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread Dan G. Switzer, II
I am using the tablesorter plugin, which I really like. However, in several of my table cells I have oddly formatted time values that look like the following: 1d 12h 34m 25s Which maps to: 1 day, 12 hours, 34 mins and 25 seconds I cannot change how these values are displayed - they have to be

[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread tlphipps
I agree with Dan 100%. I'd also offer an alternative solution. Before Tablesorter 2.0, I had a similar situation and resolved it by adding a hidden span tag before the data that contained the 'raw' timestamp integer for sorting purposes. This worked really well with the old tablesorter (and