It’s a pleasure to create something that can be useful!!!
To improve it on a large table, yes, you would need to move the filtering code toward a “submit” button.
Just modify the javascript, something like:
var form = document.createElement(‘form’); form.setAttribute(‘class’, ‘filter’); __ For ie… form.attributes[‘class’].value = ‘filter’; var input = document.createElement(‘input’); form.appendChild(input);Have fun.
+1
Hello Echarp
I am looking for a table sort script to find names and numbers in a table of about 100 rows.
Your tablefilter script seems to be very good for this job,
so I tested your fiterTable.js script with the browsers: Firefox 2.x; IE 7; Opera 9 and Netscape 7.×.
It runs in all browsers without Netscape(The form field das’nt appear).
In your homepage http://leparlement.org/filterTable it’s ok, also in Netscape.
What did I wrong?
Best Regards
Franz Kruft
+0