I'm using the jQuery qtip plugin. I want the content of the qtip to be an php code, loaded dynamically. Here my ajax code:
for i in paths:
var_1 = i
Then I select a link with the id="mapa" to load Qtip with php code the fisrt click no load php code in Qtip, the second and next click, Qtip work OK. If i refresh page, again no work first, second all OK. Can anyone help me? Error committing in my call on ajax? Or elsewhere? Thank you very much for any help.
答案 0 :(得分:0)
如果您尝试将api.elements.tooltip.html(content);
更改为api.set('content.text', content);
,是否会在首次点击时显示您的内容?