The difference between jQuery selector contains spaces and no spaces

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

For example:

There are two jQuery expressions

$(".active :hidden")With a space of selectors, said descendant selectors, with all the hidden object style within the active.

$(".active:hidden")With no spaces selector, said screening, select the object with a style active and hidden.



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Natalie at November 18, 2013 - 1:45 AM