Tooltipster not working in a ajax content -
while searching in stack overflow. I have an old problem that is also facing me. But no one answers it. So, just wanted to know that someone has any idea about it
The following is my code
$ (document). Tooltipster ({interactive: true: content: 'Loading ...', function: first: function (original, continuing teletype) {continueTooltip (); / / Next, we want to check that our data is already cached // if (original DATA ('ajax')! == 'cached') {$ .ajax ({type: 'post', url: 'Example.php', success: ph రించు (data) {// Update our tooltip content with our broken data and cache it to the original.Toltipster ('content', $ (data)). Data ('ajax', 'cached');} })}}}}});});
My problem has been solved.
<$> $ (document) .ready (function () {/ p>
$ ('Test_link') Tooltipster ({interactive: true, multiple: correct, content: 'Loading ...', function: first: function (original, released tool tip) {continueTooltip (); // Next , We want to check that our data has already been cached // if (origin.data ('ajax')! == 'cached') {$ .ajax ({type: 'post', url: 'Example.php', success: function (day) A) {// Update our tooltips with our data and cache this origin.tooltipster ('content', $ (data)) data ('Ajax', 'cached');}})}}}}} );});
It used to work for me in Firefox. But not tested in other browsers
Comments
Post a Comment