.on not working in IE

.on not working in IE

Hi Guys,

I'm wondering why a mouseenter/leave function doesn't work in IE, but works in all other browsers?
When mouse entering, a tooltip should appear & a little pinched tail fades in.  In IE, only hovering over the imgborder element (which is above the img & is positioned absolutely) produces the tail.  When further hovering into the image, the tail disappears.


My Script:

  1. $('.exhibit_tooltip_imgbord').on({
  2.     mouseenter: function() {
  3.       if ("%id=tailstyle%" == "pintri") {  /* pinched triangle mouseenter */
  4.         $('.exhibit_tooltip_bg').promise().done(function() {
  5.           $('.pintrib, .pintri1, .pintri2').animate({opacity: 1}, 1500)})}
  6.       $('#exhibit_tooltip_img').trigger('mouseenter')},
  7.     mouseleave: function() {
  8.       if ("%id=tailstyle%" == "pintri") {  /* pinched triangle mouseleave */
  9.         $('.exhibit_tooltip_bg').promise().done(function() {
  10.       $('.pintrib, .pintri1, .pintri2').animate({opacity: 0}, 100)})}
  11.       $('#exhibit_tooltip_img').trigger('mouseleave')}});
How do I fix this for IE?

Thanks, Bill