Hi Eric, I think you might be getting your synchronous and asynchronous in a muddle.
Synchronous -> browser stops working and waits for reply from a single request Asynchronous -> browser makes multiple requests at the same time...! See: http://wiki.script.aculo.us/scriptaculous/show/Ajax.Request Most people seem to think that synchronous requests are a bad idea e.g. http://ajaxblog.com/archives/2005/05/25/synchronous-requests-bad https://blueprints.dev.java.net/ajax-faq.html#synchronous On Oct 30, 12:56 pm, "Eric" <[EMAIL PROTECTED]> wrote: > For the Question B. > I check the script.aculo.us Wiki and got one solution. > use Ajax.Updater for onclick > > The code below: > onclick="new > Ajax.Updater('posts_view','/posts/refresh',{asynchronous:true,evalScritps:true});return > false" > > Is it the right way to do this even it works? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
