show static rows one by one using java script : I have the following table 

    <table class="hTab">
    
         <tr class="hTr"> </tr>
         <tr class="hTr"> </tr>
         <tr class="hTr"> </tr>
    </table>
      <tr> <input type=button value="Show 1 more" id="onemore" /></tr>

I have used following Jquery code to show the rows one by one ( I have declared 10 rows in the table 

        var currentrow = 0;

        $('#hTab #hTr').hide();
        $('#hTab #tr:eq(0)').show();

        $("#onemore").click(function () {
            currentrow++;
            $('#hTab #hTr:eq(' + currentrow + ')').show();
        });

but at the moment it's not working. if anyone could show the error in my code will be very helpful 