Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-08-28 Thread Adam Montgomery
Try the following code for your ajax form. Note the update to 'comments' from 'comment':: form(null,'post',array( 'update'=>'comments', 'url'=>array( 'controller'=>'comments', 'action'=>'add' ) ) ); echo $form->i

Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-08-24 Thread yaronh
Hi, I have the same problem, did anyone found a solution for it? On Jul 23, 12:24 am, David wrote: > Hello, > > I am trying to work with ajax helper to do a comments form on a test > blog system. > I am fairly new...but have managed to pick most things up...but this > is doing my head in! > > O

Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-07-23 Thread majna
Where is your html element with attribute id="comment" ? Use firebug and firefox to inspect XMLHttpRequests. On Jul 23, 11:05 am, David wrote: > Yep I have included > > link('prototype'); ?> > > in the of the default template. > > Which produces this in the head =

Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-07-23 Thread David
Yep I have included link('prototype'); ?> in the of the default template. Which produces this in the head =

Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-07-22 Thread Eric Silva
you called the prototype.js? -- Eric Silva On Wed, Jul 22, 2009 at 10:24 PM, David wrote: > > Hello, > > I am trying to work with ajax helper to do a comments form on a test > blog system. > I am fairly new...but have managed to pick most things up...but this > is doing my head in! > > Okay so

$ajax->form - NOT WORKING!!!!! ARGHHHH

2009-07-22 Thread David
Hello, I am trying to work with ajax helper to do a comments form on a test blog system. I am fairly new...but have managed to pick most things up...but this is doing my head in! Okay so I show a blog post and people can comment on them so I use this in the view file: form(null,'post',array ('u