How to remove class after delay in jQuery
To remove class after delay in jQuery you can use one of the snippet below. Samples jQuery Sample using setTimeout() var element = $('#element'); element.addClass('current'); setTimeout(function() { element.removeClass('current'); }, 2500);…