I have an application that uses iframes. This application is a rich client and in each frame there are javascript functions and libraries. The frames change context that is they change to...
Anything to do with the Creation of the Object must happen in the constructor or the prototype. End of Story. Any thing created out side the constructor but on the same instance is...
// Last time !
<script type="text/javascript">
var Person = function () {
this.ctx = 'this is some other stuff'; // Public ;
var stuff = 'this is some stuff'; ...