Im having trouble with my jquery. Im using ajax to log me in to my account which inturn runs some php to change a few menus based on a set session. However because the page never redirects but the content changes it seems to be breaking all the jquery on the page until I click “refresh” and all the jquery works fine again.
How can I fix this issue?
I’ve added the parts of code with the breaking issues into this js fiddle
The answer to this ended up being because I hadn’t included the accordian jquery script into the external included php file that was being pulled in.