jquery - Multiple Selector like statement -


i know multiple selector does

$( "p , #test" ) 

it gives combined results of specified selectors , can find documentation it.

but found piece of syntax somewhere , dont know how called , cant find way explain it. can tell me name , can find documentaion

$( "p" , "#test" ) 

it seems p elements within element id=test

the $ selector's second parameter context.

a dom element, document, or jquery use context. accepts string containing css selector used match set of elements.

have @ docs.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -