jQuery attribute selector - am I doing something wrong?
<pre><code>var selector = "ul.lower-menu li a[innerText=\"" + PanelSettings[tab_name_key] + "\"]";
</code></pre>

<p>I'm trying to get horizontal menu tab that has innerText property set to the previously stored value. </p>

<p>The config value is stored like this:</p>

<pre><code>PanelSettings[tab_name_key] = $("ul.lower-menu li:first &gt; a").prop("innerText");
</code></pre>

<p>It is actually there and it always has the proper value.</p>

<p>I get nothing from jQuery - am I doing something obviously wrong here?</p>

<p>Edit: I'm using jQuery 1.6.4</p>
