Required textbox in javascript
<p>I have this code  </p>

<pre><code>$(document).ready(function () {
        $("#&lt;%= chkSpecialIntegration.ClientID %&gt;").click(function () {
            if (this.checked) {
                document.getElementById('&lt;%=ddlTypeSpecialIntegration.ClientID %&gt;').style.visibility = 'visible'; }
  });
    });
</code></pre>

<p>When this is checked then a textbox is no longer required.  How can I do this?</p>
