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
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
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