Hi i am using ‘Qwery” selector engine by dustin diaz if you clicked that link, the sample page shows selectors like
div#baz.thunk a[-data-info*="hello world"] span + strong {}
and
#foo a[lang|=en] {} subcodes
i couldn’t understand the use of subcodes and data-info i even read the CSS2 selector w3c page but could not comprehend from it. Could someone explain using simple example how these works. My notion of -data-info is match innerHTML, Dom properties of a object like below
<a href="http://www.google.com">Hello</a>
and when i executed the below selector it would give me the above element.
qwery("a[-data-innerHTML='Hello']");
please do clarify my notions and suggest me query to write to get the innerHTML/other properties using qwery selector engine
Here is a good Article
http://www.programmervn.com/2010/11/30-css-selectors-you-must-memorize-part.html
http://www.programmervn.com/2010/11/30-css-selectors-you-must-memorize-part_17.html
Extract: