How do you store the visibility of a form into a variable in jquery?
<p>how do we check whether a input box is visible or not....then store its state into variable to be outpu via alert ?</p>

<p>right now i'm using and i think it wrong. can any body help ?</p>

<pre><code>&lt;input type="hello" name="hello" value="" style="visibility:hidden"/&gt;

function testhideinput(){
            var $input_state = $('input:text[name=hello]').is('visibility');
alert($input_state);
}
</code></pre>
