On Tuesday, May 23, 2017 at 5:30:09 AM UTC-7, vinay wrote:
>
> i am in need of little help to provide
>   1. a box to upload image ,
>   2 a provision to provide user input in text
>   3. A button to call a function from default.py
>
> any sample code , suggestions are welcome . 
>

I'd start with Chapter 3:
<URL:http://web2py.com/books/default/chapter/29/03/overview#An-image-blog>
 (For most browsers, drag-and-drop should work on that example)

User input in general is handled by forms:
<URL:http://web2py.com/books/default/chapter/29/07/forms-and-validators>

If the buttons that come with the forms aren't enough, web2py supports ajax 
and jquery:
<URL:http://web2py.com/books/default/chapter/29/11/jquery-and-ajax>

/dps

-- 
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/d/optout.

Reply via email to