How to implement html uncode function with JavaScript
<pre><code>html.replace(/&amp;lt;/g, "&lt;").replace(/&amp;gt;/g, "&gt;"
</code></pre>

<p>is there any JavaScript function can implement this function, seems like unescape function or escape function, which can convert displaying html to actual html.</p>

<p>so is there any function can do this kind of replace, to fulfill similar function, (i know i need to convert other things besides sign "&lt;" ">")</p>
