the url argument of the ajax function is a uri.  If one uses partial form,
then following rules apply:

http://www.w3.org/Addressing/URL/4_3_Partial.html

The complete URI is generated by the browser own logic before doing any
call to web2py.

mic



2013/5/13 Jose <jjac...@gmail.com>

>
>
> El lunes, 13 de mayo de 2013 06:13:38 UTC-3, Michele Comitini escribió:
>
>> Hi José,
>>
>> Please open an issue about this on 
>> https://code.google.com/p/**web2py/<https://code.google.com/p/web2py/>
>> tnx
>> mic
>>
>>
> Hi Michele
>
> This is a problem of web2py or documentation [1] or deployment?
>
> ajax(url, [name1, name2, ...], target)
>
> Url is mentioned as an argument, but no examples.
>
> {{extend 'layout.html'}}
> <form>
>    <input name="name" onkeyup="ajax('echo', ['name'], 'target')" />
> </form>
> <div id="target"></div>
>
> Before I had it running on Cherokee and worked fine when I switched to
> nginx, and that failed.
>
> José
>
> [1] http://www.web2py.com/books/default/chapter/29/11#The-ajax-function
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to