problem with onclientclick and postbackurl
<p>I want to trigger on click of a button this:</p>

<pre><code>&lt;asp:Button runat="server" ID="submit" Text="Submit" OnClientClick="country(this.form);" PostBackUrl="http://www.google.com/" /&gt; 
</code></pre>

<p>In javascript I m checking validation of the form.The problem is when I m clicking on the button it is not waiting for the validation but its postback to google.com...</p>

<p>If I do <code>return country(this.form)</code> then on button click it waits for validation but don't postback after I fill the form. I want something like that if javascript validation is false..then OnClientClick should be <code>return country(this.form)</code> if its true then only</p>

<pre><code>country(this.form)
</code></pre>
