elliottbenzle
asked on
use jquery to remove a onMouseover event from div
I have this div: <div class="milk full" onMouseover="init(this);ra ttleimage( )" onMouseout="stoprattle(thi s);top.foc us()"></di v>
when someone clicks on it I want to remove the onMouseover event. Is this possible? I'm thinking something like this:
$(document).ready(function (){
$('.milk').click(function( ) {
$('.milk').removeClass('on MouseOver' );
});
});
Thanks for any help.
when someone clicks on it I want to remove the onMouseover event. Is this possible? I'm thinking something like this:
$(document).ready(function
$('.milk').click(function(
$('.milk').removeClass('on
});
});
Thanks for any help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.