I was wondering if there is a possibility to reinitialize foundation after the content was changed with ajax.
In my case I am trying to reinitialize foundations abide form validation on a form that is passed back from an ajax call.
I tried to just call
$(document).foundation()
which should reinit all the javascript ...
nice, I found out how to reinitialize the abide validation on my form
just call
$(document).foundation('abide','events');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With