Disable mouse events for a div ?

Hi there

How can I disable mouse events of a div use jQuery or by using css …js ?

So the mouse events can pass this div to under div …

Thanks

-Newbie

Use mouseenter/mouseleave

element.style {
pointer-events: none;
}

Seemed to work for me

ZoomIt said
element.style {
pointer-events: none;
}

+1, not supported by all browsers but the best available solution.

http://caniuse.com/pointer-events

CodingJack said
ZoomIt said
element.style {
pointer-events: none;
}

+1, not supported by all browsers but the best available solution.

http://caniuse.com/pointer-events

Thanks guys , it works :slight_smile:

Sorry for rescue this thread from the forgotten, but, is there any “elegant” solution for IE and Opera for this?