Ajax call is breaking Jquery toggle function
问题 I have a basic toggle function, when item is clicked initially it sends an ajax post, and when clicked the second time it sends a second different ajax post. the issue is once it makes the ajax call, the second toggle function no longer fires. When I removed the ajax functions from the toggle and replaced them with a basic show/hide div, it worked just fine first and second click. Below is my code: You will notice I have a basic show/hide function for the first click, for testing purposes.