I saw it, I want to see controller

вторник, 4 сентября 2018 г., 19:48:07 UTC+3 пользователь Joe Barnhart 
написал:
>
>
> $.ajax({
>   data: {a:2, b:3},
>   url: "{{=URL('loadAdditonalInfo')}}",
>   success: my_success_fcn(ret)
> )};
>
>
> Something like this, from memory...
>
> You can get more details at the jQuery website.  It has excellent docs.
>
> Joe
>
> On Tuesday, September 4, 2018 at 6:23:03 AM UTC-7, Константин Комков wrote:
>>
>> Hello, can you take advice can I send variables in web2py function - ajax 
>> or I need to use jquery function.
>> Can somebody show example how to send variables with jQuery.ajax and get 
>> answer from server (controller and js in view).
>> For example we have a = 2 and b = 3. I want to get from server a+b.
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to