jQuery hover method


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $('.area').hover(
  2. function(){
  3. alert('Area hovered over');
  4. },
  5. function(){
  6. alert('Area exited');
  7. }
  8. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.