Re: In python CGI, how to pass hello back to a javascript function as an argument at client side?

2009-10-13 Thread Bruno Desthuilliers
zxo102 a écrit : Hi everyone, How can I pass a string generated from python cgi at server side to a javascript function as an argument at client side? This is common HTTP / javascriot stuff - nothing related to Python. First learn about the HTTP protocol - something you obviously need if

Re: In python CGI, how to pass hello back to a javascript function as an argument at client side?

2009-10-13 Thread Piet van Oostrum
zxo102 zxo...@gmail.com (z) wrote: z Hi everyone, z How can I pass a string generated from python cgi at server side z to a z javascript function as an argument at client side? z I want test.py to return a hello back so the javascript function z load takes hello as argument like

In python CGI, how to pass hello back to a javascript function as an argument at client side?

2009-10-12 Thread zxo102
Hi everyone, How can I pass a string generated from python cgi at server side to a javascript function as an argument at client side? Here is my case: 1. client side: load is a javascript function in a html page. It starts the python CGI test.py via Apache: html script