[jQuery] Re: Sort columns with URL in Tablesort

2009-10-29 Thread ChaosAD
the opening td and the closing then it would sort properly. Just my experience. On Oct 27, 11:58 am, ChaosAD chao...@gmail.com wrote: Not entirely sure what you mean by removed all the white space. Could you please elaborate. On Oct 27, 11:39 am, Jacob jste...@gmail.com wrote: I

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-27 Thread ChaosAD
) { // extract data from markup and return it return node.childNodes[0].childNodes[0].innerHTML; } }); }); Error: node.childNodes[0].childNodes[0] is undefined Example row: td54/tdtd34/tdtda hred='something' target='_blank'blah/ a/td On Oct 26, 6:55 pm, ChaosAD chao

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-27 Thread ChaosAD
it would sort by the text and not the URL. I don't know if that will help you with em tags as well, but it solved the problem for links for me. On Oct 27, 7:53 am, ChaosAD chao...@gmail.com wrote: Here is example of table presently working on. I using the code below, but getting error message

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-27 Thread ChaosAD
    /tbody /table don't worry about posting your parser code, as obviously it has issues  and if you want to keep the HTML intact without Google Groups messing with it, post the HTML on a site likehttp://jsbin.com or the like On Oct 27, 11:58 am, ChaosAD chao...@gmail.com wrote

[jQuery] Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
I'm fairly new to Tablesort, but got it working for the most part. The only problem I have is any columns that have a a href/a in them. It seems to sort it based on the url and not that actual data in the cell. How do I get it to sort based on the data and not the url?

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
, ChaosAD chao...@gmail.com wrote: I'm fairly new to Tablesort, but got it working for the most part. The only problem I have is any columns that have a a href/a in them. It seems to sort it based on the url and not that actual data in the cell. How do I get it to sort based on the data

[jQuery] Re: Sort columns with URL in Tablesort

2009-10-26 Thread ChaosAD
and it would (much) easier to help as your first post mentioned a tags and you implied it was nothing but those, now you have em or no tag at all, quite a bit more complicated now On Oct 26, 4:45 pm, ChaosAD chao...@gmail.com wrote: Thanks for the reply. My problem is rising from the fact