This is not possible with a button created with the element! Required fields are marked *. TAGs: ASP.Net, JavaScript, jQuery Calling a function as a function. Live Demo. // Cancel the default action, if needed. , ,