开发者

JQUERY multi selection $( $(this) + other items )

开发者 https://www.devze.com 2023-02-14 17:03 出处:网络
In JQuery is possible to do something like: $( $(this).parent(), $(\"#myid\"), $(\"li\"), ... ); In th开发者_如何转开发is way obviously NOT work, it\'s only to explain...From what I can tell, you h

In JQuery is possible to do something like:

$( $(this).parent(), $("#myid"), $("li"), ... );

In th开发者_如何转开发is way obviously NOT work, it's only to explain...


From what I can tell, you have one set selected, and you would like to add more elements to that set?

Try JQuery's add() method.

0

精彩评论

暂无评论...
验证码 换一张
取 消