I have a quick question regarding the proper way to access Javascript class member variables from inside of an event handler that class uses. For example:
fu
You can also use JQuery.proxy, to create a proxy function with its context. You can than bind the proxy to events.
Here is an example:
var init_handler = $.proxy(this.init, this); $('#page_id').bind('pageinit', init_handler);