Sunday, April 5, 2009

error in executing consecutive ajax calls

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: