Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <span class='tags' id='html'>html</span>
- <span class='tags' id='php'>php</span>
- <span class='tags' id='sql'>sql</span>
- $('.tags').mouseover(function() {
- alert(this.id);
- });
- $('.tags').hover(
- function() { console.log( 'hovering on' , $(this).attr('id') ); },
- function() {}
- );
- $(".input-box").hover(function(eventObj) {
- alert(eventObj.target.id);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement