<input name="mybutton" type="button" class="agh" id="id_button" value="Dim" onClick="resetDims();">
In the above Input tag i have to remove the entire "Onclick=myfunction();" and its function for the input tag and write my functionality for this button when we "click"
$("#mybutton").onclick(function(){
//$("#mybutton").removeattr("onClick","");
})