জেকুয়েরী mousedown
🌈জেকুয়েরী mousedown কি?
📋জেকুয়েরী mousedown হলো মাউস বাটন চাপলে স্ক্রিপ্ট কার্যকর করার পদ্ধতি।
⚒️জেকুয়েরী mousedown মাউস বাটন চাপলে স্ক্রিপ্ট কার্যকর করতে ব্যবহৃত হয়।
জেকুয়েরী mousedown মাউস বাটন চাপলে স্ক্রিপ্ট কার্যকর করার উদাহরণ।
jquery
<!DOCTYPE html>
<html>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<body>
<button>ক্লিক করুন</button>
<script>
$(document).ready(function(){
$("button").mousedown(function(){
$(this).text("চাপুন");
});
$("button").mouseup(function(){
$(this).text("ছাড়ুন");
});
});
</script>
</body>
</html>