can we use jquery for client side validation of a custom validation control?
<p>There are two textboxes one for email and other one for phone i have used one custom validation control so that user have to fill any one of textboxes for client side i used  javascript</p>

<p>function ValidatePhoneEmail(source, args) {</p>

<pre><code>        var tboxEmail = document.getElementById('&lt;%= tboxEmail.ClientID %&gt;');
        var tboxPhone = document.getElementById('&lt;%= tboxPhone.ClientID %&gt;');
        if (tboxEmail.value.trim() != '' || tboxPhone.value.trim() != '') {
            args.IsValid = true;
        }
        else {
            args.IsValid = false;
        }
    }
</code></pre>

<p>how to achieve same result using jquery</p>
