最佳答案
When the equal sign in an attribute selector is preceded by a tilde (
~ ),that means that the selector will match if the value listed is
any one of the space-separated values of the given attribute. So the
first rule’s selector,*[class~=”urgent”],will match any of the
following elements:
资料来源:http://meyerweb.com/eric/articles/webrev/200008b.html
可以在此处找到代字号选择器的jQuery文档: