Hi everyone,
I am currently working on a kind of reporting tool that generates a
JpGraph chart. This works perfect, but now I want to update the chart
with an ajax request started from a select element to filter the
displayed content.
I attached the ajax observer with the following line of code in my
view report.thtml:
$options = array('url' => 'graph','update' => 'myimage');
echo $ajax->observeField('selecttag',$options);
<img id="myimage" src="/cake/mycontroller/graph" />
When I now update the select tag, just nothing happens. Updating other
content than the image with the select tag works perfect , so
controller and the ajax update procedure should work.
I use CakePHP 1.1.x, JpGraph is called with the normal $graph-
>Stroke() method.
Anyone an idea about a solution for this problem? Thanks!
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---