[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-05-01 Thread David Blomstrom
Sorry for the late response; I posted three questions regardingthe tablesorter/zebra stripes functions, but I thought they hadn't been posted on this forum. Anyway, thanks for the tip, but the first one didn't work for me, and I can't figure out how to implement the second. Can you show me how to i

[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-04-30 Thread JGALFO
Hi, I am posted a similar question where I am getting a null or not an object error on .hml() in IE Perhaps you can help. I am trying to build a custom parser that will extract the data from a span ts.addParser({

[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-04-30 Thread aquaone
There are two simple ways of fixing this: having a hidden span or similar element appearing within your td prior to the value or better to define your own parser. e.g. $.tablesorter.addParser({ id: "commaNum", is: function(s) { return /^[\d-]?[\d,]*(\.\d+)?$/.test(s); },