I am trying to update a second DIV using the 'complete' option in the
ajax.inplaceEditor with no success. 
 
Using prototype, scriptaculous, cake_1.2.0.7692-rc3
 
What i want is after the editor does its save use the 
 
'complete' => {
  alert:("Country Saved");
}
 
just to test it out but there is no alert after the country is saved. 
 
I have tried: 
'complete'=>'test();' with the script below and by placing the alert
directly into the  'complete'=>'script here',
<script type="text/javascript">



function test()

{

  alert:("Country Saved");

}

</script>
Ideas?
 
Dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to