Hi,
in my application cakephp I have this code (into view):
....
echo $javascript->link('prototype');
echo $javascript->link('scriptaculous.js');
echo $javascript->link('json.js');
...
...
...
$options = array("url"=>"/bufferpoints","complete" =>
"prove(request)");
echo $ajax->link('Prova ajax',null,$options);
...
...
<script language="javascript">
function prova(response){
var resp = response.responseText.parseJSON();
alert(resp);
}
In explorer ok, but in firefox the ajax request doesn't start.
- Same code without cakephp (in a static page) works fine!
- Same code with cakephp but without "echo $javascript-
>link('json.js'); " works (the request starts but parseJSON no!)
Any ideas?
Thanks,
Mattia
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---