REMINDER
Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.
How to re-initialize button events/triggers?
-
I'm loading buttons in ajax, but the appdrag script that attach events to buttons, loads before my ajax finishes.
What's the script command to re-initialize?
-
Hey Thomas,
after adding new elements with Ajax add this to init buttons and links:
setupButtons(); handleLinks();
-
@Joseph-Benguira Thank you!