views:

17

answers:

1

Hi all!

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

+1  A: 

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?

meder
Both the alert debugging idea/reminder and the IE special keyword came in useful for me. It's was a trifecta solution for me...the last piece being to change "errorcontent" to "errorcontent.text()" Thanks for your help meder!
Emile

related questions