How To Highlight A Button In Html Page When I Click On It? October 11, 2024 Post a Comment I have four buttons on the page, when I click on one of them i want it to be highlighted. The buttons are used to pass data to a controller. They are like this: ).click(function() { $(this).effect( "highlight", {color: 'red'}, 3000 ); }); CopyNOTE: As said in the comments, you should never have 2 elements with the same id on one page. If you want to use the same descriptor, use class instead of id Share Post a Comment for "How To Highlight A Button In Html Page When I Click On It?"
Post a Comment for "How To Highlight A Button In Html Page When I Click On It?"