Hi,

I have a function which will resize the image background when the page is loaded,

Code:
$(document).ready(function(){
loadBackground();
});
and I want to 'unload' or 'remove' this loaded function when I click on a button so that I can load this function anew instead of loading it on top of the page,

Code:
$('.get-image').click(function(){
        $(window).unbind("resize",loadBackground);
        loadBackground();
	return false;
	});
but I can't make it work! any ideas please?

thanks,
Lau