Sign in to follow this  
cmiwebstudio

Graphs Called To Page Via Ajax Get.... Just Says 'chart' On The Page

Recommended Posts

I am calling the display of the chart (and all of it's sql queries etc) via an ajax get call, however, when the div tag is displayed on the primary page where the get call is made, only the word "chart." is there. should the include files like:

 

include('includes/FusionCharts/dynamic/DWFChart.inc.php');

 

include('includes/FusionCharts/dynamic/data/fc_FusionChart1_data.php');

 

<script type="text/javascript" src="includes/FusionCharts/dynamic/js/FusionCharts.js"></script>

 

 

 

 

should be on the php file called via ajax, or on the page where it will be displayed in the div via get?

Share this post


Link to post
Share on other sites

I am calling the display of the chart (and all of it's sql queries etc) via an ajax get call, however, when the div tag is displayed on the primary page where the get call is made, only the word "chart." is there. should the include files like:

 

include('includes/FusionCharts/dynamic/DWFChart.inc.php');

 

include('includes/FusionCharts/dynamic/data/fc_FusionChart1_data.php');

 

<script type="text/javascript" src="includes/FusionCharts/dynamic/js/FusionCharts.js"></script>

 

 

 

 

should be on the php file called via ajax, or on the page where it will be displayed in the div via get?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

i hav isolated the issue to being FusionCharts.js include file. however, if i directly go to the page that ajax is calling via get method, it loads perfectly. why will it not load that javascript file through ajax?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this