Ajax request firing multiple times
I'm currently in the process of creating a website for a client. One of the pages on the website has a lot of content that is toggled in and out by a menu. The content is loaded using jQuery's load().
Everything is working fine, however the first time you click on the menu (and only the first time), the AJAX request is being sent up to 6 times. This is only on the first use of the menu, all subsequent clicks on the menu correctly only send the AJAX request once.
I have looked at my code a few times and can't see what may be causing this! If anyone has any ideas it would be highly appreciated.
The URL of the page can be found here:
And the JS code controlling the functionality is shown below (which you can also access by viewing source on the above URL):
|All times are GMT +1. The time now is 05:53 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.