Is this possible?
Code:
$('#goRightBtn').click(function() {
Random code here
};
I have a button, when you click that button (goRightBtn) it will do all of the functions and whatnot inside that code up there. But I also have another button that will do the exact same thing (don't ask why.. Just need it!) How do I make it so that I can somehow make that code work when either one of the btns are selected..
Would something like
$('#goRightBtn','#secondBtn').click(function() {
///Random code here
};
work?
Please help! :)