How to check whether the Input Text Field is visible or hidden in Javascript?
<p>I have an input text field which has </p>

<pre><code>style: "visibility: visible"
</code></pre>

<p>or</p>

<pre><code>style: "visibility: hidden"
</code></pre>

<p>What is the easiest way to find out if it is visible or not ?</p>

<p>Suppose the input text field is E. What should be the condition here:</p>

<pre><code>if &lt;something with E&gt; {
    alert("The text filed is visible !!");
}
</code></pre>

<p>?</p>

<p>Thanks in advance !</p>
