Re: Usind Ajax-Submit

2007-05-18 Thread [EMAIL PROTECTED]
I've forgetten to say that the div viewadmin in another view (the index.html) where initially I've loaded modify.html and then I would load controlName/actionName. On 18 Mag, 10:48, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm new in CakePHP I have a question. Can anyone make me an example

Re: Usind Ajax-Submit

2007-05-18 Thread buzznut
Here is how I use it. h3Quick Add (Task)/h3 ?php echo $form-create('Task',array('onSubmit'='return false'));? ?php echo $form-input('Task/name'); echo $form-hidden('Task/project_id',array('value'= $project['Project']['id'])); echo $ajax-submit('Quick Add',