Why does my custom javascript prevent the validators from firing
<p>In .NET 2.0, I have several client side validators ala the .NET validator controls. These run fine when I click a button...until I add my own javascript function to this button. Instead of running in addtion to the validators, it seems to prevent them from running at all.</p>

<p>To be clear, the validator controls are basic required field validators, and here is the javascript I added:</p>

<pre><code>    &lt;script language="javascript"&gt;
function yaya()
{
    var chkAmount = document.frmSearchFor.txtCheckAmount.value;
    var amtApplied = document.frmSearchFor.lblAmountApplied.value;
    if  (amtApplied &lt; chkAmount)
    {
        return confirm('Continue?');
    }
}
&lt;/script&gt;
</code></pre>

<p>And it's tied to the button like this...</p>

<pre><code>OnClientClick="return yaya();
</code></pre>
