jQuery selectors: logical OR

前端 未结 6 1912
我在风中等你
我在风中等你 2021-01-03 19:08

I can\'t seem to see the forest for the trees right now (Looked at the api docs already).
It has to do with jQuery selectors: What I\'m trying to do is to select all ele

6条回答
  •  庸人自扰
    2021-01-03 19:48

    You don't really need a logical OR as such, $('.headsection, .subtitle') should do the job.

提交回复
热议问题