jQuery Tooltip plugin disabled after javascript load function -
this code used apply "jquery tooltip plugin" ajax loaded elements. example opencart cms:
/* ajax cart */ $('#cart > .heading a').live('click', function() { $('#cart').addclass('active'); $('#cart').load('index.php?route=module/cart #cart > *'); $('#cart').live('mouseleave', function() { $(this).removeclass('active'); }); });
but after using .load function (after pressing @ link #cart > .heading a) tooltip link element in #cart class disabled, , see usual windows popup tooltip.
after refreshing page works correctly, if press @ link (at least 1 time), tooltip plugin link disabled again. other links works fine (because dont use .load function, think) how can solve problem?
Comments
Post a Comment