Could you post the source of the rendered page as seen in your browser? If $getContents() is working correctly when used outside of JavaScript code, my best guess is that this is an escaping issue. e.g. if the page you're retrieving contains a double quote anywhere.
On Thursday, November 24, 2011 5:47:39 AM UTC-5, theiostream wrote: > > It's not. It works outside JavaScript. > > On Nov 24, 5:51 am, michael kapelko <kor...@gmail.com> wrote: > > 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 view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/QFvjjBO1vqcJ. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.