Help with js function explanation - Why $this = $(this)...?
<p>A user called "mu" as provide me the following answer that I really like. 
However, I do have some questions here, and I hope anyone could help me out.</p>

<p>Given the following:</p>

<pre><code>function() {
        var $this = $(this);
        $this.data('orig', $this.html()).html('&lt;a href="blabla.org"&gt;go here&lt;/a&gt;');
    },
    function() {
        var $this = $(this);
        $this.html($this.data('orig')).removeData('orig');
    }
</code></pre>

<p><strong>1)
Why do we have the need, and what does it do:
var $this = $(this) - Why can't we use $(this) all over the place?</strong></p>

<p><strong>2) Why do we need the 'orig' thing there?</strong> </p>

<p>Please, :) provide as much detail as possible, really, I'm quite new on all this.</p>

<p>Thanks a lot in advance,
MEM</p>
