how to get clicked a href link on mouseover?
i want to get clicked my link on mouseover
what i have to do to make my link get clicked on mouseover
this is my code:
<a href="www.example">link</a>
how to get clicked a href link on mouseover?
i want to get clicked my link on mouseover
what i have to do to make my link get clicked on mouseover
this is my code:
<a href="www.example.">link</a>
3 Answers
Reset to default 3try something like :
<a onmouseover="this.click();" href="...">link</a>
You can use jquery for achieving this manipulation
$('a').mouseover(function(){
$(this).click();
});
Jquery or Style attribute
<a href="" onmouseover="$(this).click()" >Click Me</a>
<a href="" onmouseover="this.style.cursor='pointer';">Click Me</a>