<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Advanced JavaScript Table Sorter &#8211; TinyTable V3</title>
	<atom:link href="http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/</link>
	<description>This web development blog features fresh articles on JavaScript, AJAX, CSS, XHTML, PHP, Photoshop and more.</description>
	<lastBuildDate>Wed, 16 May 2012 10:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Federico</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13535</link>
		<dc:creator>Federico</dc:creator>
		<pubDate>Sat, 12 May 2012 20:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13535</guid>
		<description>This worked for me</description>
		<content:encoded><![CDATA[<p>This worked for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dee</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13525</link>
		<dc:creator>Dee</dc:creator>
		<pubDate>Tue, 08 May 2012 16:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13525</guid>
		<description>Nice sorter, have been using the earlier versions too. I had a similar issue like Victor above, but I do want to paginate. So what I did was, instead of if(!t.a[i].s){r.style.display=&#039;none&#039;}else{r.style.display=&#039;&#039;}, I replaced the alt function line with if(!t.a[i].s){r.style.display=&#039;none&#039;}else{r.style.display=t.l} which means when the user backspaces the text in filter, in the end it&#039;ll go back to displaying the number of records as set by the dropdown selected (10 or 20 or 50..)</description>
		<content:encoded><![CDATA[<p>Nice sorter, have been using the earlier versions too. I had a similar issue like Victor above, but I do want to paginate. So what I did was, instead of if(!t.a[i].s){r.style.display=&#039;none&#039;}else{r.style.display=&#039;&#039;}, I replaced the alt function line with if(!t.a[i].s){r.style.display=&#039;none&#039;}else{r.style.display=t.l} which means when the user backspaces the text in filter, in the end it&#039;ll go back to displaying the number of records as set by the dropdown selected (10 or 20 or 50..)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13448</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 04 Apr 2012 20:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13448</guid>
		<description>Thank you very much, this works for most of my table.

Only when I use the date like 2001/04/04 and 2012/04//04, the order is messed up in every browser.</description>
		<content:encoded><![CDATA[<p>Thank you very much, this works for most of my table.</p>
<p>Only when I use the date like 2001/04/04 and 2012/04//04, the order is messed up in every browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stangl</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13423</link>
		<dc:creator>stangl</dc:creator>
		<pubDate>Sun, 25 Mar 2012 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13423</guid>
		<description>quick solution for google chrome sorting problem:

in function cp()

delete or comment this lines:
//  i=Date.parse(f); n=Date.parse(c);//  if(!isNaN(i)&amp;&amp;!isNaN(n)){g=i; h=n}
after this sorting in google chrome is ok.
but if you want to sort date strings you have to debug more or add your own date-converting-function.</description>
		<content:encoded><![CDATA[<p>quick solution for google chrome sorting problem:</p>
<p>in function cp()</p>
<p>delete or comment this lines:<br />
//  i=Date.parse(f); n=Date.parse(c);//  if(!isNaN(i)&amp;&amp;!isNaN(n)){g=i; h=n}<br />
after this sorting in google chrome is ok.<br />
but if you want to sort date strings you have to debug more or add your own date-converting-function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso Campos</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13354</link>
		<dc:creator>Alfonso Campos</dc:creator>
		<pubDate>Tue, 06 Mar 2012 15:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13354</guid>
		<description>Ok I still don&#039;t know about d call on load but as far as the Chrome bug goes this is the solution:

modify your cp function as this (script.js)
	function cp(f,c){
		var g,h;
		f=g=f.v.toLowerCase(); 
		c=h=c.v.toLowerCase();
		
		var i=parseInt(f, 10), n=parseInt(c,10);
		if (!isNaN(i)&amp;&amp; !isNaN(n)){
			g=i,h=n
		}
		else{
		
		i=parseFloat(f.replace(/($&#124;,)/g,&#039;&#039;)), n=parseFloat(c.replace(/($&#124;,)/g,&#039;&#039;));.... .... .... ....		i=Date.parse(f); 		n=Date.parse(c);			if(!isNaN(i) &amp;&amp; !isNaN(n)){			g=i; h=n		}		}				return g&gt;h?1:(g&lt;h?-1:0)	};And it will work on Chrome :) Good luck!</description>
		<content:encoded><![CDATA[<p>Ok I still don&#039;t know about d call on load but as far as the Chrome bug goes this is the solution:</p>
<p>modify your cp function as this (script.js)<br />
	function cp(f,c){<br />
		var g,h;<br />
		f=g=f.v.toLowerCase(); <br />
		c=h=c.v.toLowerCase();</p>
<p>		var i=parseInt(f, 10), n=parseInt(c,10);<br />
		if (!isNaN(i)&amp;&amp; !isNaN(n)){<br />
			g=i,h=n<br />
		}<br />
		else{</p>
<p>		i=parseFloat(f.replace(/($|,)/g,&#039;&#039;)), n=parseFloat(c.replace(/($|,)/g,&#039;&#039;));&#8230;. &#8230;. &#8230;. &#8230;.		i=Date.parse(f); 		n=Date.parse(c);			if(!isNaN(i) &amp;&amp; !isNaN(n)){			g=i; h=n		}		}				return g&gt;h?1:(g&lt;h?-1:0)	};And it will work on Chrome <img src='http://www.scriptiny.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfonso Campos</title>
		<link>http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/#comment-13353</link>
		<dc:creator>Alfonso Campos</dc:creator>
		<pubDate>Tue, 06 Mar 2012 13:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.scriptiny.com/?p=278#comment-13353</guid>
		<description>Yeah some1 nows how to do that? I can populate as stated up but have no clue how to call on page load!!


Also is there a solution for the Chrome bug sorting numbers?
Thx!</description>
		<content:encoded><![CDATA[<p>Yeah some1 nows how to do that? I can populate as stated up but have no clue how to call on page load!!</p>
<p>Also is there a solution for the Chrome bug sorting numbers?<br />
Thx!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

