jqery onclick event this() code example
Example 1: jquery click function
$( "#target" ).click(function() {
alert( "Handler for .click() called." );
});
Example 2: class onclick jqery
$(".addproduct").unbind().click(function(){
//do something
});