You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line says that all content will be executed only once, when the page is loaded.
So $(document).find(..) isn't executed when navigating by ajax (pjax in my case).
My temporary solution is to wrap every non-event function inside of $(document).ready(..) in $(document).on('click', ...), but I think this should be the core.
The text was updated successfully, but these errors were encountered:
This line says that all content will be executed only once, when the page is loaded.
So
$(document).find(..)
isn't executed when navigating by ajax (pjax in my case).My temporary solution is to wrap every non-event function inside of
$(document).ready(..)
in$(document).on('click', ...)
, but I think this should be the core.The text was updated successfully, but these errors were encountered: