TIMEX
TIMEX

Reputation: 271724

In JQuery how do I get the DIV that the mouseover/mouseenter came from?

I need to get the div that the mouse was previously on before it entered the element.

How do I get this in JQuery?

Upvotes: 2

Views: 77

Answers (1)

TIMEX
TIMEX

Reputation: 271724

Nevermind. I got it.

console.log(e.fromElement.className);

Upvotes: 1

Related Questions