I just want to create a simple script that gives two alert messages one on mouseover / one on mouseout $('input').bind('mouseover', function (){ alert("Hello"); }); $('input').bind('mouseout', function (){ alert("Goodbye"); }); PHP: What am I doing wrong? Any JQuery pros out there? mohamed elgharib
Hi, place these functions in document.ready(): $(document).ready(function(){ $('input').bind('mouseover', function (){ alert("Hello"); }); $('input').bind('mouseout', function (){ alert("Goodbye"); }); }); Code (markup): Regards