Yes, really !
Means that if there is not full URL(), web2py creates the url for ajax
request from current page url and if request.args are in use, web2py will
make bad address. There is one points to make it more clear:
- why web2py creates as bad address just the address of the whole page (not
The ajax() function must take a proper URL as the first argument. Your URL
is just 'echo', which the browser interprets as being relative to the
current page (because it doesn't start with a '/'). Instead, should be:
ajax('{{=URL('poptavka', 'echo')}}', [], 'target')
which will produce:
ajax('
2 matches
Mail list logo