how to search inside specific block of html?
<p><code>temp =  $.jstree._focused().get_selected().html()</code></p>

<p>Gave me a block of html. There is a <strong>button</strong> inside of that html:</p>

<pre><code>&lt;button class="square_button button_background" type="button" onclick="run_through_ajax('login','basics')"&gt;
 run
&lt;/button&gt;
</code></pre>

<p>How can I search ONLY inside <strong>temp</strong> variable and get the value of <code>onclick</code>? </p>

<p>I am asking <strong>jQuery code</strong> that <strong>searches</strong> inside <strong>temp</strong> variable for <strong>button</strong> and gives me <strong>onclick</strong>.</p>

<p>Note that temp <strong>is not equal only</strong> <code>&lt;button class="square_button button_background" type="button" onclick="run_through_ajax('login','basics')"&gt;</code></p>
