richie19rich77 Posted April 1, 2007 Share Posted April 1, 2007 Hi All, Trying to build a website using AJAX dynamic data news articles, the page displays fine the first time you click on news, but if you click on it again it fails to read the source page. Easier to see from my webpage, click on News and once pages load, click on news again. http://homepage.ntlworld.com/richard.farthing/Main.html If you refresh, it works fine, and then clicking on news again generates the problem. Any Ideas? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/45092-ajax-not-working-on-second-click/ Share on other sites More sharing options...
MadTechie Posted April 1, 2007 Share Posted April 1, 2007 erm.. try turning cache off in the JS file var enableCache = true; to var enableCache = false; Quote Link to comment https://forums.phpfreaks.com/topic/45092-ajax-not-working-on-second-click/#findComment-218916 Share on other sites More sharing options...
richie19rich77 Posted April 1, 2007 Author Share Posted April 1, 2007 Thanks mate your a star, As you see I know nothing about html or AJAX lol Thanks Quote Link to comment https://forums.phpfreaks.com/topic/45092-ajax-not-working-on-second-click/#findComment-219024 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.