hi im trying to bind a function to webkitTransitionEnd using jquery's .one method. when i do:
$element.one( "transitionend MSTransitionEnd webkitTransitionEnd oTransitionEnd",
function(e) {
$element.removeClass( ".alert-resets" )
});
it doesn't unbind to the transitionend event. instead it removes the class every time it does the transition
heres the jsfiddle: http://jsfiddle.net/DVC5A/
ok i found this solution on SO:
How do I normalize CSS3 Transition functions across browsers?