How to hide multiple (thousands) rows in the html table
问题 I have html page with many rows (is about 40000) <html><body> <table id="t1"> <tr id="r1" name="1"><td>row 1</td></tr> <tr id="r2" name="1"><td>row 2</td></tr> .... <tr id="r50000" name="3"><td>row 30000</td></tr> </table></body></html> I need a fast way to hide/show set of rows (10 000 or 20 000) with the specified name. Platform requirements: IE8-9 and Mozila Firefox. I tray many methods: using tbody, block tags, hiding rows, and stop at one: loop trow the rows and hide/show it: curLevel