Remove element from html string (What is wrong with this script)
<pre><code>script = "&lt;div&gt;&lt;p&gt;sss&lt;/p&gt;&lt;/div&gt;";
$(script).find('p').remove();
console.log($(script));
</code></pre>

<p>I want to remove the p element from script
​Why the p element still available?</p>
