inline jquery thick box does not close with javascript validation
<p>I am having issues with jquery inline thickbox in the classic asp app.
The code looks like this:</p>

<p>The properties of the hyperlink tags are as under:</p>

<pre><code>&lt;a&gt;href="#TB_inline?height=295&amp;width=604&amp;inlineId=rev-modal" onclick="GetAuth()" id="btnAuthorize" class="thickbox"&gt;Authorize&lt;/a&gt;
</code></pre>

<p>Now I have created a javascript that makes ajax call and based on the results it either shows error or moves ahead. Inside my javascript I show the error div and close the thick box. It was working fine with the ajax callback items/erros. But now I have added javascript validation to the page. Now my thickbox does not go away when if invalid input is found. I can see the error div and error from the javascript validation but its all inside the gray transparent thickbox thing which I dont want. When I click on the page the thickbox goes away.</p>

<p>My javascript is like this :</p>

<pre><code>function GetAuth() {
    if (ValidInputs() == "" ) {

    }
    else {
        $("#errordiv").show();
        $("#errordetail").html(ValidInputs());
        self.parent.tb_remove();
     }
     return false;
}
</code></pre>
