সম্পাদনা
<!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>
পূর্বরূপ