Home  >  Article  >  Web Front-end  >  jquery 多个对象绑定同一个事件

jquery 多个对象绑定同一个事件

WBOY
WBOYOriginal
2016-06-01 09:54:561239browse

代码如下:
 

<code>$("#code-shared,#other-code-shared").change(function() {
               //处理过程
});</code>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn