The web app takes input from a user, queries an API, processes the data with PHP and then presents it as a series of graphs using jQuery and D3. I initially set this up in a procedural manner but have since been implementing it using the Laravel framework. The problem I am having is that the JavaScript is not working properly in the final page; I think it has something to do with the way the Blade template system works.
I know that it is accessing the JavaScript file correctly as it loads up the initial graphs. However there is some extra functionality to reload the graphs according to different time spans and also to scroll through the data in the graphs. After it has loaded the page, none of the jQuery stuff is working.
I've attached a screen dump of the final screen that displays the data. The 'Change time span' drop down menu should reload the graph data, and the 'next' and 'previous' buttons should scroll through the data, but neither of these are working.
I don't want to paste a load of unnecessary code here but here is a link to the question I have asked on Stack Overflow:
http://stackoverflow.com/questions/32454521/jquery-not-working-properly-in-laravel-5
I don't know where the problem lies which is why I have placed so much code in that question, but that's probably why it's had no answers!
Thank you in advance for any help; I'm really stuck with this!
John
--
You received this message because you are subscribed to the Google Groups "PHPNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to php-north-eas...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.