It helps to removes the next function from the queue, and then executes the function.
.dequeue()
// To Remove the next function from the queue, and then execute the function
$(“div”).queue(function(){
$(“div”).css(“background-color”,”yello”);
$(“div”).dequeue();
});