StuBlackett StuBlackett - 6 months ago 44
jQuery Question

jQuery Trigger a click on mouseOut

I have tabs setup, Which animate on hover. What I want to do is on mouseOut, Trigger a click on the tab that has the class of "home".

My current jQuery is as follows :

$('div.vertical_tabs ul.st_tabs li a').hover(
function() {
}, function() {

The class I'd like to trigger on mouseOut is : div.vertical_tabs ul.st_tabs li a.home

Is this possible?

Thanks in advance.

Answer Source

Hiya demo or

for mouse out you can use mouseout event.

Please let me know if I am missing anything.

Jquery code

$('.tag').mouseout(function() {

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download