Unbind'ing events declared in tag.

Unbind'ing events declared in tag.


If an event is defined in a tag, say <img onclick="alert('Sneh');" />,
then $(img).unbind() has no effect on the onclick attribute. I have
to go in an set the onclick="".
Is this expected behavior?