Javascript probleme with 'this' in 'load' method callback
<p>I've create a 'Page  Class' and an associated 'load' method.</p>

<p>The loading works perfectly, but i can't modify a property
of that page within the callback method, 
although I cant reference the page name property !!!</p>

<pre>
function Page(page) {
    this.page = page;
    this.firstLoad = true;
    this.pageName = this.page.split('.')[0].split('/')[1];
    this.loaded = false;
}



Page.prototype.load = function () {
    var that = this;
    $("#content").html();
    $("#content").load(this.page, function () {
        $.getScript("PagesViewModel/" + that.pageName + "ViewModel.js");
        that.loaded = true;
    });
}
</pre>

<p>this.loaded is always false !!!</p>

<p>Thank you for your help</p>

<p>Regards</p>
