Hi,
It's simple...
Your button must have some id and you only need to add a few lines of code to attach click event handler to that button...
It will look something like this:
<script type="text/javascript">
$(document).ready(function(){
$("#btn").click(function(){
});
});
</script>
<!--
<input type="button" id="btn" value="Click" />