benjamin.kaplan at case.edu
Mon Aug 3 20:54:58 CEST 2009
On Mon, Aug 3, 2009 at 2:39 PM, Leo Brugud <sakradevanamindra at gmail.com>wrote:
> I'm trying to use python to build a simple web page that make use of
> the onclick behavior, instead of requiring users
> to click the 'submit' button.
> capable of doing the same?
It depends. Python is usually used as a server-side language while
your program processes that request and sends the client a web page. That
program never hears from that client again until the *client* initiates
HTTP request. You'll have to add the onclick and onchange code to the
the request, jsut receiving it.
Of course, this isn't the case if you are using something like pyjs, which
code and not Python code.
> Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list