jQuery .text('') on multiple nested elements
<p>I wanted to remove all text from html and print only tags. I Ended up writing this:</p>

<pre><code>var html = $('html');
var elements = html.find('*');
elements.text('');
alert(html.html());
</code></pre>

<p>It only out prints <code>&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;</code>. Was not that suppose to print all tags. I've nearly 2000 tags in the html.</p>
