Sorry if this is too basic a question. I very new to web programming and 
Web2py. I have written some desktop applications. Where I'm having trouble 
right now is understanding exactly how the Python code in Web2py interacts 
with the HTML. In my desktop GUI apps, a control like a button generates a 
trigger or callback which I can capture and execute code in response. I'm 
sure something like this is happening in web apps too, but I'm not quite 
getting how it works. For example, If I place the following tag in the 
HTML: 
<input type="file" name="fileID">
the page will display a button with which I can select a file with the 
browser's open file dialog. It will even show the file name on the page 
after selection. What I can't see is how I execute a Python function in 
response to this selection or how to get the filename to the function. I'm 
thinking I need some basic instruction in how web programming works so any 
references would be appreciated. I've been working my way through an 
on-line HTML tutorial, but it seems that javascript is also important.

Thanks in advanced,

Eric

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