jquery

How to Create a start and stop Function using jQuery

In this article, we will explain How to Create a start and stop Function using jQuery.

Example:-

<html>
<head>
<title>start() and stop() Function using jQuery</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script> 
$(document).ready(function(){
 $("#start").click(function(){
    $("#panel").slideDown(5000);
  });
  $("#stop").click(function(){
    $("#panel").stop();
  });
});
</script>
<style> 
#panel,