mouseover and mousenter in loop on dynamic pageTOOLTIP

Hari's Avatar

Hari

11 Sep, 2012 06:38 AM

Hi All,

We are using jquery tiptip plugin for showing tooltips, the page is a dynamic one.

The code works fine for ie8 and firefox, but in ie7, it is getting in infinite loop and I am getting out of memory error alert. The code is,

$('a[toolTip]').live('mouseover', function(e) {

$(this).tipTip({attribute:"toolTip"});

           $(this).trigger('mouseenter');

});

We are using toolTip as the attribute to tiptip. When I remove the trigger mouseenter line of code, it is working in IE7 too, but not on the first hover, only on the second hover. That's why I have added the below line of code

$(this).trigger('mouseenter'); Please help me to fix this infinite looping in IE7.

Regards
Hari

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac