সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $.getJSON("/api/users.json", function(data){ $("div").html(JSON.stringify(data)); }); }); }); </script> </head> <body> <button>ডেটা সংগ্রহ করুন</button> <div></div> </body> </html>
পূর্বরূপ