Search code examples
jqueryinternet-explorerinternet-explorer-8dynamic-dataqtip

Dynamic content loads into jQuery qtip in all browsers except IE


qTip...a jQuery custom tooltip plugin... isn't loading dynamic content for IE8 (haven't tested in IE6/7). qTip initializes but no content (text) loads into it.

Here is my code:

errorPlacement: function(error, element) {
                var errorcontent=eval(error);

                element.parents('.rightfields').find('.norederrorx').removeClass('norederrorx').addClass('rederrorx').qtip(
                {
                    show: {when: 'mouseover', solo: true},
                    content: { text: errorcontent },
                    //formatting options here
                    }
                });

So yea... content: { text:errorcontent } loads none of the errorcontent :(

I've tried also content: errorcontent,

Thank you in advance for all your help!

Emile


Solution

  • Try quoting when:

    show: {'when': 'mouseover' }
    

    It's probably a special keyword in IE. Also, what did you try to debug so far with alert?