Common property with all jQuery objects
<p>I want create a property inside my object with all jQuery objects wich it will use. I novice at JavaScript and that's why I want an advice. Can I do this in such manner?</p>

<pre><code>var myVar = {
    init: function() {
        //...
        this.obj = {
            id1: $('#id1'),
            id2: $('#id2'),
            id3: $('#id3')
        }
        this.method2();
    },
    method1: function() {
        alert(this.obj.id1.html()) // some work with id1
    },
    method2: function() {
        alert(this.obj.id1.html()) // some work with id1
    }
};
$(function() {
    myVar.init();
    myVar.method1();
});
</code></pre>
