jQuery check and get attribute of a child element
<p>If a user places HTML in a <code>textarea</code> field, how can I check if text inserted is an <code>&lt;object&gt;</code> tag?</p>

<p>If true, I want to assign the <code>src</code> attribute of the <code>&lt;object</code>> to a variable.</p>

<p>What the most efficient way to do this?</p>

<pre><code>&lt;div id="embed"&gt;
    &lt;textarea&gt;
        &lt;object src="..."&gt;&lt;/object&gt;
    &lt;/textarea&gt;
&lt;/div&gt;
</code></pre>
