সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $(document).ajaxSend(function(){ $("p").html("রিকোয়েস্ট পাঠানো হচ্ছে"); }); $("button").click(function(){ $.get("/api/document.txt"); }); }); </script> </head> <body> <button>রিকোয়েস্ট পাঠান</button> <p></p> </body> </html>
পূর্বরূপ