manage to find the error :
ajax("{{=URL(c='conc2', f='create_new_detail')}}" +'?t=' +t+ 
'&c_id='+c_id,[],'mbody_CRUD_Modal'); 

On Friday, August 3, 2018 at 6:47:23 PM UTC+8, Artem wrote:
>
> Hello , All!
> I load component via :
>
> $.web2py.component("{{=URL(c='conc2',f='c2.load')}}", 'conc_div') 
>
> component have ajax calls like :
>
> ajax("{{=URL(c='conc2', f='create_new_detail?t=')}}" +t+ 
> '&c_id='+c_id,[],'mbody_CRUD_Modal');
>
> when i send t and c_id vars to function with ajax call, and print them 
> out by console.log() in browser everything looks how is must be ,
> but ajax call always add .load  to the first var ...
>
> so for example i need  send to controller t='abc' and c_id='001' , but in 
> controller i receive t=.loadabc and c_id=001 .
>
>
>
>
>
>
>
>
>
>
>
> vxvxvxv                           
>
>

-- 
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