jQuery: Is it illegal or bad practice to assign multiple event handlers? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: jQuery: more than one handler for same event I am using a jQuery slider plugin that creates two buttons. These buttons have click events attached to them by the plugin as they are used to control the slider. I have created my own mouseover\mouseout events independent of the plugin (inline with the webpage) to handle animations. I would like to create one for click as well (so that the button changes color). Will