Problem facing while counting number of input elements in document
<p>I am facing problem while counting number of input elements in document,i have written some code but it does not seems to work,Please help me.</p>

<pre><code> $('#Q1_7_label').parents('TR').hide();
 $('#forwardbutton').click(function()
 {
    var x=$(this).find('input').length;
    alert(x)
 });
</code></pre>
