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
Post a Comment