How to find attribute data-comp value usign jquery find() : <pre><code>&lt;div id="container"&gt;
    &lt;div data-comp="component"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>I want it to find from the selector container
something like
$('#container').find('[data-comp]');
I want the output like
'component' </p>
