সম্পাদনা
<!DOCTYPE html> <html> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <body> <input value="এই লেখাটি কাটুন"> <p></p> <script> $(document).ready(function(){ $("input").on("cut", function(){ $("p").text("লেখা কাটা হয়েছে"); }); }); </script> </body> </html>
পূর্বরূপ