Wednesday, June 5, 2024
 Popular · Latest · Hot · Upcoming
170
rated 0 times [  175] [ 5]  / answers: 1 / hits: 22094  / 13 Years ago, wed, july 27, 2011, 12:00:00

Is it possible to trigger a mouseout event on a link element using jQuery ?



I.e. Something of the sort



$(linkEle).mouseout()


I want this to work on an iPad, which even though does not have any mouse cursor, does actually have the event...


More From » jquery

 Answers
30

Yes, jquery has a mouseout event handler - http://api.jquery.com/mouseout/



$('some_selector_here').mouseout(function() { 
// Do some stuff
}

$('some_selector_here').trigger('mouseout');

[#90965] Tuesday, July 26, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luzv

Total Points: 178
Total Questions: 105
Total Answers: 114

Location: Palau
Member since Tue, May 30, 2023
1 Year ago
luzv questions
Thu, Aug 26, 21, 00:00, 3 Years ago
Mon, Nov 23, 20, 00:00, 4 Years ago
Thu, Jun 11, 20, 00:00, 4 Years ago
Wed, Apr 29, 20, 00:00, 4 Years ago
;