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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -