Get `this` from outside a function
<p>How, or is it even possible, to get the <code>this</code> value from a function? I've made this snippet which saves <code>defaultValue</code> on the function, but I would like to read this from outside the function, directly on the <code>dom</code> element. Is that possible??</p>

<p><strong>I've made this, in jQuery:</strong></p>

<pre><code>$("input").val(function() {
    var $label = $("label[for='" + $(this).attr("id") + "']");
    this.defaultValue = $label.text();
    $label.hide()
    return this.defaultValue
}).click(function() {
    if ($(this).val() == this.defaultValue) {
        $(this).val("");
    }
}).bind("blur", function() {
    if ($(this).val() == "") {
        $(this).val(this.defaultValue);
    }
});
</code></pre>

<p>See it in action here: <a href="http://jsfiddle.net/ZUZ3L/g6dMA/" rel="nofollow">http://jsfiddle.net/ZUZ3L/g6dMA/</a></p>
