Bind a function on multiple jQuery elements at once

前端 未结 4 2061
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-04 19:46

I have 3 jquery objects:

var a = $(\'.el1\');
var b = $(\'.el2\');
var c = $(\'.el3\');

And I want to bind a \"change\" event to all of the

4条回答
提交回复
热议问题