জয়েন লগইন

জেকুয়েরী show

🌈জেকুয়েরী show কি?

📋জেকুয়েরী show হলো এলিমেন্ট প্রদর্শন করার পদ্ধতি।

⚒️জেকুয়েরী show এলিমেন্ট প্রদর্শন করতে ব্যবহৃত হয়।

জেকুয়েরী show এলিমেন্ট প্রদর্শন করার উদাহরণ।

jquery
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script>
$(document).ready(function(){
  $("div").css({
    "width": "50px",
    "height": "50px",
    "background-color": "pink",
    "display": "none",
  });
  $(".show").click(function(){
    $("div").show(1000);
  });
  $(".hide").click(function(){
    $("div").hide(1000);
  });
});
</script>
</head>
<body>
<button class="show">শো</button>
<button class="hide">হাইড</button><br>
<div></div>
</body>
</html>