How to get jquery Tooltipster Plugin to work for newly created DOM elements?

无人久伴 提交于 2019-12-04 06:58:54

Try this one

$(document).on('mouseover', '.ololo', function(event) { $(this).tooltipster({multiple:true}); });

Just add the instantiation script in the ajax content too.

Also set the option "multiple:true"

Its worked for me

user254153

I think it would be accomplished if you write you plugin load code after the DOM has finished loading. You may write inside:

$(window).load(function()

});

As this executes after all DOM has finished loading.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!