Craga89/qTip2 — Issue #256: Show event seems global with multiple tooltips
Author: benjamindulau
Created: 2011-10-27 10:16:00+00:00
State: open

Say we load ajax content in a modal tooltip and then after content is successfully loaded we create new tooltips from inside the new content.

Well, with the option "ajax.once: false" on the master tooltip, when a new tooltip is shown, the master tooltip seems to catch the "show" event and the ajax content is loaded again.

An use case is too handle a form submission from inside a modal tooltip.
Say we have validation errors, after the form is submitted, the content is reloaded with error elements next to each invalid fields.
And then, if you try to transform these error elements into qTip, the content of the original tooltip (the modal one) is loaded again (the ajax request is executed again because of the once: false option and the show event provocated by the errors tooltip creation).

Is this clear enough ? ;-)
Unfortunatly i can't create an use case with ajax content in jsfiddle.