'echo' is the url you're trying to call ...... usually is /app/controller/function . 'echo' alone gets evaluated depending on the page you're on, appending to (or replacing the last bit of) the current url.
On Friday, January 18, 2013 5:06:01 PM UTC+1, Ramos wrote: > > hello > > i made this simple test > > in javascript chrome console i typed > > ajax('echo', ['name'], 'target') > to call my function > > and it returns > GET http://192.168.1.167:8000/empre2/default/user/not_authorized 403 > (FORBIDDEN) > > > thank you > António > --