[jQuery] passing 'this' into getjson callback

[jQuery] passing 'this' into getjson callback


Hi,
On click of a button I am placing a json call in the following manner
jQuery( '#myButton' ).bind( 'click', myProject.callJson );
The callJson function calls the json parameters:
jQuery.getJSON( url, null, function( json ) { myProject.handleResult
( json ) } );
The handleResult function further takes me to someOtherFunction() as
well.
The issue is that all the while I need to keep on passing a reference
to the clicked button through jQuery(this) so that I can manipulate it
in someOtherFunction(). How do I do that? Any pointers would be very
helpful.
Thanks
Pramod