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.
$('#Q1_7_label').parents('TR').hide();
$('#forwardbutton').click(function()
{
var x=$(this).find('input').length;
alert(x)
});