Re: [web2py] Using Ajax Callback() in a delete functions

2020-01-24 Thread mostwanted
Thanks Ramos On Friday, January 24, 2020 at 7:01:47 PM UTC+2, Ramos wrote: > > Have you read this ??? > > > A > > This helper is used to build links. > > >>> print A('', XML('me'), > >>> _href='http://www.web2py.com') >>> href='http://www.web2py.com'>clickme > > Instead of _href you

Re: [web2py] Using Ajax Callback() in a delete functions

2020-01-24 Thread António Ramos
Have you read this ??? A This helper is used to build links. >>> print A('', XML('me'), >>> _href='http://www.web2py.com')>> href='http://www.web2py.com'>clickme Instead of _href you can pass the URL using the callback argument. For example in a view: {{=A('click me',

Re: [web2py] Using Ajax Callback() in a delete functions

2020-01-24 Thread mostwanted
Thanks Ramos but the target parameter still doesn't solve the issue. When i add the target parameter & the target div it deletes but the page ends up reload endlessly! On Friday, January 24, 2020 at 1:49:37 PM UTC+2, Ramos wrote: > > I guess you need to set the target param > see here... >

Re: [web2py] Using Ajax Callback() in a delete functions

2020-01-24 Thread António Ramos
I guess you need to set the target param see here... https://groups.google.com/forum/#!topic/web2py/V_e_c7h0l3A Em sex., 24 de jan. de 2020 às 08:54, mostwanted escreveu: > I have been using the ajax function alot lately, there is a level of > neatness about it. > What I wanna do is to make a

[web2py] Using Ajax Callback() in a delete functions

2020-01-24 Thread mostwanted
I have been using the ajax function alot lately, there is a level of neatness about it. What I wanna do is to make a delete by clicking a button but avoid a page reload, I used the ajax callback function, but the problem is that after clicking delete it shows working but nothing happens, it