সম্পাদনা
<!DOCTYPE html> <html> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <body> <div style="height:100px; overflow:auto;"> <div style="height:300px;"> <h1>প্রোগ্রামিং শিখুন</h1> <p>প্রোগ্রামিং শিখে নিজের ক্যারিয়ার গড়ে তুলুন</p> </div> </div> <script> $(document).ready(function(){ $("div").first().scroll(function(){ $(this).css("background", "pink"); }); }); </script> </body> </html>
পূর্বরূপ