Re: Capturing a var from JavaScript

2009-10-19 Thread Victor Subervi
Yeah, I know, but if I use CGI then I have to pass variables in the URL, and
I was trying to avoid that.
Thanks,
V

On Mon, Oct 19, 2009 at 12:50 PM, geremy condra debat...@gmail.com wrote:

 On Mon, Oct 19, 2009 at 11:41 AM, Victor Subervi
 victorsube...@gmail.com wrote:
  Hey, that's great! Can do it in python? Fantastic! How? How do I ping the
  browser and get the screen resolution in python?
  V

 One way would be to use CGI, or one of its many derivatives. A better way
 would be to allow the client to do what the client does best, which is
 render- ie, use javascript.

 Geremy Condra

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Capturing a var from JavaScript

2009-10-19 Thread Carsten Haese
Victor Subervi wrote:
 It doesn't work. What I want is to capture winX and winY and use them in
 python. How?

Since you're still not heeding the advice from this article, please
allow me to refer you to it again:
http://catb.org/~esr/faqs/smart-questions.html

--
Carsten Haese
http://informixdb.sourceforge.net

-- 
http://mail.python.org/mailman/listinfo/python-list