I need to remove the opacity style entirely from the element after all the animation is complete.
http://jsfiddle.net/SthJy/1/
I tried setting css('opacity', '') and removeAttr('style') but no effect, the inilne style is still there.
Could someone help me with this?
delaywon’t work forcss()orremoveAttr()since they are not queueable. Read more indelay()docsYou need to use
css()orremoveAttr()within complete callack of final animationSince default opacity of the element is zero in css, not sure what you are expecting to see
API refernce: http://api.jquery.com/delay