Fade In Row

using jQuery to fade in a table row

by somidmm

HTML

<button onClick="test()" style="margin-bottom: 10px;">
click
</button>


<table border="1">
  <tr>
    <td width="50">1</td>
  </tr>
  <tr id="2" style="display: none;">
    <td>2</td>
  </tr>
  <tr>
    <td>3</td>
  </tr>
</table>

JavaScript

function test() {
	$("#2").fadeToggle("slow");
}