javascript - What does the jQuery function $('#myelement').is('*') do? -
what following code do:
$('#myelement').is('*')
what asterisk signify? since there 1 element, #myelement, can't understand point of using is(), checks if element matches set of elements?
this existential javascript.
$('#myelement').is('*') it fail whenever #myelement doesn't exist, , return true otherwise.
Comments
Post a Comment