I did try it based on the example in the book. What must the return in the 
controller be? I want a delete button next to the image in the views to 
delete that specific image without refreshing as well.

On Sunday, November 10, 2013 4:06:09 PM UTC+5:30, 黄祥 wrote:
>
> i think you can achieve it using jquery (onsubmit) and ajax. please check 
> the web2py book about jquery and ajax.
>
> ref:
> http://web2py.com/books/default/chapter/29/11/jquery-and-ajax
>
> best regards,
> stifan
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to