When used with the child selector >, the two variants of jQuery's "has" behave differently.
Take this HTML:
<div>
<span>Text</span>
</div>
Now:
$("div:has(>span)");
would return it, while:
$("div").has(">span");
would not. Is it a bug or a feature? Compare here: http://jsfiddle.net/aC9dP/
EDIT: This may be a bug or at lea...
Does anyone have experience / insight re: decoupling jquery / sizzle?
this is for general interest, but here's the scenario that triggered my question:
..i already have jquery in the project. wanted to try out http://ecsstender.org/, which requires the Sizzle selector engine.
I dont really want to include a 2nd copy of Sizzle - its ...
Hi everyone,
For some reason, I am getting the following Javascript error in Internet Explorer 8 on line 3156 of jquery.js (version 1.4.3, non-compressed version): Object doesn't support this property or method. No error occurs in Firefox and Google Chrome.
This is the line the error occurs on:
if ( (match = Expr.leftMatch[ type ].exe...
Here's my problem: I'm writing a WordPress plugin that helps budding CSS authors see how css applies to their theme in real time. It's got a numer of nifty features, except one, which is pretty crucial in my mind.
I want to allow them to click an element, see the full selector path to that element (that part is done), and then show th...