Can I make this jquery selector nicer?
<p>I'm doing some string manipulation to build a jquery selector.  Does the trick, but seems a bit ugly to me.  Is there a nicer way of doing what I'm doing below?</p>

<pre><code>$(".hierarchical[data-dependson='"+id+"']")
</code></pre>

<p>Edit: why does it seem ugly?  I'd like to avoid the string manipulation if I can.  I've seen much nicer looking code using <code>.eq</code> and <code>.has</code> - but I can't see a way to use them here.</p>
