I have "evalScripts: true" in
my request but  the div is not updated.
I pass you my code in view.html


<?  echo $ajax->div('art_'.$art['art_id'].''); /* ?>
<?  echo $ajax->divEnd('art_'.$art['art_id'].'');  ?>
<?  echo $javascript->codeBlock("new Ajax.Updater('art_".
$art['art_id']."',
                        '../controller/modify_art/".$art['art_id']."/1',
                        {
                         method: 'get',
                                                 asynchronous:true,
                         parameters: '',
                                                 evalScripts : true
                        });");   ?>



On 29 Mag, 01:02, Grant Cox <[EMAIL PROTECTED]> wrote:
> If you are using Prototype, make sure you have "evalScripts: true" in
> your request - otherwise any inline javascript in your view.thtml is
> not executed when the div is updated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to