By "not working" do you mean that the request is not made? I suspect
it's a javascript event binding issue. Are you updating the page?
Specifically, the "add comment" button/form?

I can't go into details of how to deal with this, though, as I use
jQuery and so never use Cake's ajax helper stuff. If you use Firebug,
you can at least see if the javascript is firing when you click the
button. An alert() will work in a pinch, though.

On Sun, Apr 5, 2009 at 3:45 PM, Krish <[email protected]> wrote:
>
> Hi All,
>
> I have a form in which I have add and delete operations for comments
> section. I am implementing them using Ajax.
>
> My first Ajax operation (i.e. either add/ delete) is working fine.
> when i go for my second Ajax operation it is not working.
>
> For Ex:
>               step 1: Adding a new comment using 'Add
> Comment' .                           // Ajax call is working fine.
>               step 2: When i click 'Add Comment' again, It is not
> adding new data.       // Ajax call is not working.
>
> Note: when I refresh /reload  the page manually, again my first Ajax
> call is executing. second call is not working.
>
> Can anyone help me to over come this issue...
>
> I am using CakePHP's built in Ajax helpers with prototype/
> scriptaculous for my Ajax operations.
>
> Thanks in advance...
>
> Regards,
> Krish
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to