How can I transfer a page element to my object for further manipulations with it inside the same object?
The following is not a working example for additional clarity in the question:
var elem = { foo: $('#a'), bar: function(){ this.foo.text('aabbcc'); } } elem.bar();