Chain multiple selectors in jQuery
If you want to apply the same action for multiple selectors in jQuery, you should write down their identificators separated by comma. It can be as simple ID of elements, their classes or something more difficult.
For example, I used to apply the same CSS styles for tags <th> and <td> in tables with 'summary' attribute using jQuery. I did it this way:
$('table[summary="Likert scale question"] td:first-child,
table[summary=" Likert scale question"] th:first-child').css({
'font-weight' : 'normal'
});

Determine the first and last days of a quarter with Day.js
Login as another user in SharePoint 2019 on-premises site in Chrome
Set limited Wi-Fi connection within command line in Windows