সম্পাদনা
<!DOCTYPE html> <html> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <body> <div style="height:100px; overflow:auto; background:lightgray;"> এখানে মাউসের চাকা স্ক্রল করুন </div> <p></p> <script> $(document).ready(function(){ $("div").on("wheel", function(event){ $("p").text(event.originalEvent.deltaY); }); }); </script> </body> </html>
পূর্বরূপ