Home  >  jQuery

Example of .dequeue() in jQuery

May 01, 2013
.dequeue() in jQuery removes the next function in queue and then it is executed. Argument is optional but as arguments it takes queue name. Find the syntax with no argument.
Sample example is given below.

<!DOCTYPE html>
div { margin:3px; width:30px; position:absolute;
height:30px; left:10px; top:30px;
background-color:black; }

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<button>Test Dequeue</button>
$("button").click(function () {


©2022 concretepage.com | Privacy Policy | Contact Us