Hi,
On each page I create my custom js object.
I want to subscribe to the $().ready event so that when it fires, my objects init fucntion also fires.
is this possible?
Updated
My object looks like:
var blah = function() {
var init = function() {
//init function stuff
};
return {
InitPage: function() { init(); }
};
}();
Then on my page I will do:
blah.init();