我怎么能用jQuery一次选择'this'和其他东西?

Dim*_*kiy 1 javascript jquery jquery-selectors

假设我有一个点击处理程序:

$('some_selector').click(function(){

});
Run Code Online (Sandbox Code Playgroud)

在处理程序内部,我可以$(this)用来选择被单击的元素.

有没有办法在1个语句中选择被点击的元素和其他内容?也许,像:

$(this, 'some_other_selector')
Run Code Online (Sandbox Code Playgroud)

Cra*_*aig 9

使用.add()

http://api.jquery.com/add/

$('some_selector').click(function(){
    $(this).add('some_other_selector');
});
Run Code Online (Sandbox Code Playgroud)