Re: Updating Div with ajax

2007-08-20 Thread [EMAIL PROTECTED]
On Jul 30, 11:36 am, madmike210 <[EMAIL PROTECTED]> wrote: > In a view, I would like to be able to click on a button and have the > index displayed in a div. I accomplish this by doing the following in > a view: > > GROUP VIEW > USER VIEW > > div('main_div'); ?> > divEnd('main_div'); ?> > > How

Re: Updating Div with ajax

2007-07-30 Thread madmike210
Thanks for the help, and suggestions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [E

Re: Updating Div with ajax

2007-07-30 Thread francky06l
You can also integrate the component 'RequestHandler' in your controller, that should handle the ajax layout automatically :-) On Jul 30, 5:51 pm, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Jul 30, 2007, at 9:36 AM, madmike210 wrote: > > > > > > > In a view, I would like t

Re: Updating Div with ajax

2007-07-30 Thread John David Anderson (_psychic_)
On Jul 30, 2007, at 9:36 AM, madmike210 wrote: > > In a view, I would like to be able to click on a button and have the > index displayed in a div. I accomplish this by doing the following in > a view: > > GROUP VIEW > USER VIEW > > div('main_div'); ?> > divEnd('main_div'); ?> > > However, the

Updating Div with ajax

2007-07-30 Thread madmike210
In a view, I would like to be able to click on a button and have the index displayed in a div. I accomplish this by doing the following in a view: GROUP VIEW USER VIEW div('main_div'); ?> divEnd('main_div'); ?> However, the index.thtml is displayed in the div with the information generated by