howard chen wrote:
>
> show() only work good for DIV tags, but not table, e.g.
>
> ----------------------
>
> <table>
> <thead>title...</thead>
>
> <tbody id="test" style="display: none;">
> <tr>
> <td>22sksksis</td>
> </tr>
> <tr>
> <td>22sksksis</td>
> </tr>
> <tr>
> <td>22sksksis</td>
> </tr>
> </tbody>
>
> </table>
>
> <span onclick="$('#test').show('show');">hello</span>
>
>
Yes, this would be unlikely to work, though I've never tried it. Extra code
would need to be written that progressively expands the line height of a row
to an intended final height before moving onto the next one. Perhaps writing
it as a plugin would be a good approach?
--
View this message in context:
http://www.nabble.com/show%28%29-for-table-elements--tf3180071.html#a8824408
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/