As you are a beginner,please refer this site:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=231[
^]
Adding an example from there:
Example 1 – Display an alert on asp:Button click using jQuery
Add a Button element to the page as shown below:
<asp:button id="Button1" runat="server" text="Button" xmlns:asp="#unknown" />
Now in order to tell the browser to perform some action using jQuery as soon as the document is ready or loaded, use this block:
<script type="text/javascript">
$(document).ready(function() {
});
</script>
Add your code in the function block
<script type="text/javascript">
$(document).ready(function() {
$("#Button1").click(function() {
alert("Hello world!");
});
});
</script>
Hope this helps!Please replace the alert with your respective validate method.