Jquery - How to select a specific tag of a div tag attribute that contains html?
<p>I have a div that has an attribute called 'data-prototype'. That attribute 'data-prototype' contains some html. Nested inside that html is a select tag that I would like to extract. I know how i get the entire attribute content with jquery but not how to get a specific tag (the select tag in my case). Thank you in advance. Cheers. Marc</p>

<p>JsFiddle: <a href="http://jsfiddle.net/gpsw3/" rel="nofollow">http://jsfiddle.net/gpsw3/</a> </p>

<p>My html:</p>

<pre><code>&lt;div id="some-div" data-prototype="&lt;div&gt;&lt;span&gt;something&lt;/span&gt;&lt;select&gt;&lt;option&gt;opt1&lt;/option&gt;&lt;option&gt;opt2&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;"&gt;&lt;/div&gt;

&lt;a id="btn"&gt;click&lt;/a&gt;
</code></pre>

<p>My Jquery:</p>

<pre><code>$(document).on({
            click: function() { 
                $container = $('#some-div');
                alert($container.attr('data-prototype'));
            }
}, '#btn');
</code></pre>
