[visualization-api] Re: column chart is not visible in ajax call

2014-02-06 Thread Ravindra Gharge
Chart.php is taking parameters from the ajax request and depending this 
values plot the chart
I want to display that chart on my current page

On Wednesday, February 5, 2014 10:22:05 PM UTC+5:30, asgallant wrote:

 What does chart.php return?

 On Wednesday, February 5, 2014 5:01:05 AM UTC-5, Ravindra Gharge wrote:

 $.ajax({
 type: POST,
 url: chart.php,
 cache: false,
 data: $(#my_form).serialize(),
 success: function (html) {
 //$(body).html(html); 
 $(#chart_div).html(html);
 alert(ok);
 }
 
 });


 Above code -  call the chart.php 
  -  success response is unable to processed
  -  chart.php is working fine if i call from browser 
 address bar
  -  but not working in the ajax call

 Please help my how I show the chart from my ajax call .


 *Thanks*



-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


[visualization-api] Re: column chart is not visible in ajax call

2014-02-06 Thread asgallant
Can you post an example of the HTML returned?

On Thursday, February 6, 2014 4:03:49 AM UTC-5, Ravindra Gharge wrote:

 Chart.php is taking parameters from the ajax request and depending this 
 values plot the chart
 I want to display that chart on my current page

 On Wednesday, February 5, 2014 10:22:05 PM UTC+5:30, asgallant wrote:

 What does chart.php return?

 On Wednesday, February 5, 2014 5:01:05 AM UTC-5, Ravindra Gharge wrote:

 $.ajax({
 type: POST,
 url: chart.php,
 cache: false,
 data: $(#my_form).serialize(),
 success: function (html) {
 //$(body).html(html); 
 $(#chart_div).html(html);
 alert(ok);
 }
 
 });


 Above code -  call the chart.php 
  -  success response is unable to processed
  -  chart.php is working fine if i call from browser 
 address bar
  -  but not working in the ajax call

 Please help my how I show the chart from my ajax call .


 *Thanks*



-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


[visualization-api] Re: column chart is not visible in ajax call

2014-02-05 Thread asgallant
What does chart.php return?

On Wednesday, February 5, 2014 5:01:05 AM UTC-5, Ravindra Gharge wrote:

 $.ajax({
 type: POST,
 url: chart.php,
 cache: false,
 data: $(#my_form).serialize(),
 success: function (html) {
 //$(body).html(html); 
 $(#chart_div).html(html);
 alert(ok);
 }
 
 });


 Above code -  call the chart.php 
  -  success response is unable to processed
  -  chart.php is working fine if i call from browser 
 address bar
  -  but not working in the ajax call

 Please help my how I show the chart from my ajax call .


 *Thanks*



-- 
You received this message because you are subscribed to the Google Groups 
Google Visualization API group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.