সম্পাদনা
<!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("p").text($("div").outerWidth()); }); }); </script> </head> <body> <button>outer width</button> <div style="width:100px;padding:10px;border:5px solid;"></div> <p></p> </body> </html>
পূর্বরূপ