Why is unbind('click') not working?

Why is unbind('click') not working?

Hi all,

I have the following piece of jQuery:

  1. $("img[alt='47767']").unbind('click').attr('src', '../images/icon-tick.png').attr('title', 'Printed');
Which I am trying to use to manipulate the following piece of HTML

  1. <img alt="47767" title="Mark as printed" style="cursor: pointer;" onclick="mark_printed(this)" src="../images/icon-printer.png">
The attribute changes for 'src' and 'title' get applied, but the unbind('click') doesn't stop the image from firing the 'mark_printed(this)' function.

Why is unbind('click') not working as expected?

Thanks!

David