Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>jQuery mouseenter() and mouseleave() method</title> <script src="jquery-latest.min.js"></script> <script> $(document).ready(function(){ $("input").mouseenter(function(){ $("input").css("background-color", "yellow"); }); $("input").mouseleave(function(){ $("input").css("background-color", "pink"); }); }); </script> </head> <body> Name: <input type="text" name="name" /> </body> </html>
  Preview Arrow