For example on a page I have
$(document).ready(function()
{
$('#some-element').click(function()
{
// do something..
});
});
Do I also need to add the unbind code - or will jQuery automatically do this for me?
$(window).unload(function()
{
$('#some-element').unbind();
});