<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>JavaScript filter search in table</title>
    <link>http://blog.echarp.org/JavaScript_filter_search_in_table/vote.rss</link>
    <description>JavaScript filter search in table</description>
    <item>
      <title>Re: JavaScript filter search in table</title>
      <vote>1</vote>
      <pubDate>2011-03-14 15:42:49+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_5</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_5</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;I&amp;#8217;m not using it currently, but your changes are appreciated, and could be useful to others.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: JavaScript filter search in table</title>
      <vote>1</vote>
      <pubDate>2011-03-14 15:01:48+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_4</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_4</comments>
      <dc:creator>Austin</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;I have no idea how old this is or if it is even still worked on, but i had to make some small modifications to get it working in Chrome/Firefox, so i will just add them here incase anyone else needs them.&lt;/p&gt;
&lt;p&gt;JavaScript Change:&lt;/p&gt;
&lt;p&gt;&lt;span class="caps"&gt;CHANGE&lt;/span&gt;&lt;br/&gt;
function filterTable(term, table) {
	dehighlight(table);&lt;/p&gt;
&lt;p&gt;TO&lt;br/&gt;
function filterTable(term, table) {
	var term = document.getElementById(term);
	var table = document.getElementById(table);
	dehighlight(table);&lt;/p&gt;
&lt;p&gt;&lt;span class="caps"&gt;HTML&lt;/span&gt; Change&lt;/p&gt;
&lt;p&gt;&lt;span class="caps"&gt;CHANGE&lt;/span&gt;&lt;br/&gt;
filterTable(this.value, &amp;#8216;filterTable&amp;#8217;);&lt;/p&gt;
&lt;p&gt;TO&lt;br/&gt;
filterTable(&amp;#8216;searchClient&amp;#8217;, &amp;#8216;filterTable&amp;#8217;);&lt;/p&gt;
&lt;p&gt;In the function, &amp;#8220;searchCLient&amp;#8221; is the ID only of the textbox, &amp;#8220;filterTable&amp;#8221; is the ID only of the table. The 2 lines i added in the JavaScript file turn the ID into an object.&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: JavaScript filter search in table</title>
      <vote>1</vote>
      <pubDate>2011-02-25 23:24:45+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_3</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_3</comments>
      <dc:creator>Artur</dc:creator>
      <description>&lt;p&gt;could i get the naked html file too? i have problem too with aplaying it&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: JavaScript filter search in table</title>
      <vote>1</vote>
      <pubDate>2010-02-26 10:02:00+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filter_search_in_table</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filter_search_in_table</comments>
      <dc:creator>echarp</dc:creator>
      <description>&lt;p&gt;&lt;p&gt;I&amp;#8217;ll gladly send it to you, to what email address?&lt;/p&gt;
&lt;p&gt;Normally just clicking on the following link should open the javascript file for you: &lt;a href="http://blog.echarp.org/attachment/file/filterTable/filterTable.js"&gt;http://blog.echarp.org/attachment/file/filterTable/filterTable.js&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then save it locally and move this file into whatever directory you use for your javascript files.&lt;/p&gt;
&lt;p&gt;Once this is done, you can test the feature with the html code present in this article: it include the js file in the html file, and uses it through the addition of class &amp;#8220;filterable&amp;#8221; to the html table itself. The highlight is managed through a bit of css.&lt;/p&gt;
&lt;p&gt;You can also contact me on irc, server irc.freenode.net, I&amp;#8217;m generally on #parlement.&lt;/p&gt;
&lt;p&gt;+1 Thanks for your feedback on this!&lt;/p&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Re: JavaScript filter search in table</title>
      <vote>0</vote>
      <pubDate>2010-12-09 13:56:23+0100</pubDate>
      <link>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_1</link>
      <comments>http://blog.echarp.org/Re_JavaScript_filter_search_in_table_1</comments>
      <description>&lt;p&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>

