Title: AJAX reload/init code?
Last modified: June 26, 2018

---

# AJAX reload/init code?

 *  Resolved [deeve](https://wordpress.org/support/users/deeve/)
 * (@deeve)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/ajax-reload-init-code/)
 * Hi, I’m trying to use your plugin with a site whose pages are loaded via AJAX.
   Initially the tooltips work but after one mouse rollout they stop working. Is
   there a jQuery/js reload/init code I could enter to restart the script on AJAX
   complete?
    Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/ajax-reload-init-code/#post-10452768)
 * the code is [here](https://plugins.trac.wordpress.org/browser/responsive-mobile-friendly-tooltip/trunk/responsive-tooltip.js).
   
   You can see on line 5 all elements a searched for `rel~=tooltip` and on line 
   8 the event is binded. The quick and ugly way would probably be to rerun the 
   whole thing every ajax request. If you implement in a nicer way please post it
   here. -Itay

Viewing 1 replies (of 1 total)

The topic ‘AJAX reload/init code?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-mobile-friendly-tooltip_bbad9a.
   svg)
 * [Responsive Mobile-Friendly Tooltip](https://wordpress.org/plugins/responsive-mobile-friendly-tooltip/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-mobile-friendly-tooltip/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ItayXD](https://wordpress.org/support/users/itayxd/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/ajax-reload-init-code/#post-10452768)
 * Status: resolved