jquery - Check if one of two elements are clicked -
i checking if 1 button clicked this
$j('#button1').click( function () { and performing function want perform same function when either button1 or button2 clicked.
what jquery syntax that?
you can this:
$j('#button1, #button2').click( function () {
Comments
Post a Comment