Re: [webpy] web.py and JavaScript issues

2011-11-23 Thread michael kapelko
try to first do it without JS, just print $getContents at server side with web.py only. may be it's simply empty. -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this gro

[webpy] web.py and JavaScript issues

2011-11-23 Thread theiostream
I have been trying to make a page which combines web.py and JavaScript, and with the following code: $code: def getContents(fname): a = req.get(fname) return a.content document.write("$getContents('http://mysite.net')"