সম্পাদনা
<!DOCTYPE html> <html> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <body> <p draggable="true">আমাকে টেনে নিন</p> <div style="padding:30px; background:lightgray;"> ছেড়ে দেওয়ার স্থান </div> <script> $(document).ready(function(){ $("div").on("dragenter", function(){ $(this).css("background", "lightgreen"); }); }); </script> </body> </html>
পূর্বরূপ