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
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')"