add the .add() function
Closed this issue · 3 comments
RongBranovate commented
Hi @jgermade ,
I'm trying to use the same event handler for multiple jquery objects and from what i've found jquery uses the .add() function like so:
$(obj1).add(obj2).on('click', some_function);
is there another way to do so in jqlite? or is it possible to add the .add() function?
note: i'm not talking about css selectors like '.class1'
thanks in advance!
jgermade commented
Hi @RongBranovate, I think is a great idea... working on this!
jgermade commented
RongBranovate commented
awesome! thanks!