It seems that the selector is ":link"not supported by jQuery filter()or is(). For example, if I rate $(":link")on a page, it returns multiple links. If I rate $(":link").filter(":link")or $(":link").is(":link"), an error occurs. The error message is "Syntax error, unrecognized expression: link".
Is it for design? Do filter()and is()do not support the same CSS selector, does jQuery usually work? Is there any information about the difference?
source
share