Jquery .show() to display div tag

Posted by kumar on Stack Overflow See other posts from Stack Overflow or by kumar
Published on 2010-04-08T17:06:50Z Indexed on 2010/04/08 17:13 UTC
Read the original article Hit count: 398

Filed under:

I am using this code to display a grid

$('#table1 tr').bind('click', shows);

function shows() {
    $('#table').show();
}

Where #table is the following HTML fragment:

<div id="table">
  <p>shiva</p>
</div>

I am not able to show shiva? is this right what I am doing here?

thanks

© Stack Overflow or respective owner

Related posts about jQuery