I have several onclick and on mouseover events in my PHP generated html, something like this:
<div onmouseover="fave('heart_<?php echo $row['id']; ?>';" class="heart"><a href=""></a></div>
I want to use unbind for the mouse, but it did not work when I tried this:
$('#'+ id).unbind('mouseover');
So, I assume that unbind will only work with events generated by jQuery? Is there anything else I can try?
Btw, I cannot move my events to a separate js file, since each identifier is unique.
Thank you all
source
share