I have a regular HTML table, how can I show and hide a table row using jQuery?
+1
A:
Either iterate the tr elements inside your table or add id's to your trs and calling the show/hide function in jQuery with that ID
Nuno Furtado
2009-06-23 14:20:08
+1
A:
Also, you might want to look at the .toggle() function.
$('tr:nth(5)).toggle()
This will show/hide it and continually switch...
Boushley
2009-06-23 14:27:49
A:
I would steer clear of the show and hide methods for table rows. They lead to bad ui effects x-browser. I have found fadeIn/Out to work much better x-browser.
redsquare
2009-06-23 14:30:21