Re: Problem in using Ajax to submit a form

2008-04-25 Thread rob30
Hi, Maybe try submiting not by ajax->form but ajax->submit eg echo $form->create('Sphere'); ... echo $ajax->submit('save', array('url'=>'saveSpheres','update'=>'sphere_val', 'before' => 'prepareSpheres()')); --~--~-~--~~~---~--~~ You received this message because

Problem in using Ajax to submit a form

2008-04-11 Thread Pierre MARCOURT
Hi, I must clarify that I did several tutorials. I tried with the Cakebaker tutorial : http://cakebaker.42dh.com/2006/01/18/submit-a-form-with-ajax/ I looked at the API but I don't understand what's going on. If someone has an idea... Pierre MARCOURT a écrit : > Hi, > > I have a problem when I

Problem in using Ajax to submit a form

2008-04-10 Thread Pierre MARCOURT
Hi, I have a problem when I try to submit a form by using Ajax. If I submit this form by using html, it works well. Since I changed the code and try to do it with Ajax, FireBug give this error : $(form) has no properties return $A($(form).getElementsByTagName('*')).inject([], in prototype.js (l