I have 2 html buttons named Button1 and Button2.
Two buttons perform the same operation using jquery.
now I wrote the same jquery in the click event for both buttons. This is shown below.
$('#Button1').click(function () { xyz
Both jquery are the same. Can I catch the click event for both in one function?
jquery
Null pointer
source share