5 messages in com.googlegroups.google-appengine[google-appengine] Re: question about...
FromSent OnAttachments
Marko Vuksanovic23 May 2008 15:14 
Scott23 May 2008 15:41 
Scott23 May 2008 15:43 
Marko Vuksanovic23 May 2008 23:42 
borgx24 May 2008 02:10 
Subject:[google-appengine] Re: question about request data
From:Marko Vuksanovic (mark@gmail.com)
Date:05/23/2008 11:42:29 PM
List:com.googlegroups.google-appengine

And what would be the "few other" things ?

On May 24, 12:43 am, Scott <scot@gmail.com> wrote:

I think I misunderstood your question.

I think you cannot get contents of div in the request because forms do not pass those values when posting.  Only input fields and a few other things get put into the request.

Scott

On May 23, 4:41 pm, Scott <scot@gmail.com> wrote:

javascript (which you'd use after the page is rendered) would be: document.getElementById('subscribe').innerHTML

self.request.get is for use in request handlers (called to determine what to render)

On May 23, 4:15 pm, Marko Vuksanovic <mark@gmail.com> wrote:

I have read checked the documentation about request data....

It says that i can use # <input name="subscribe" type="checkbox" value="yes" /> self.request.get("subscribe", default_value="no") to get the value of the input box

I have decided to use a div element, then modify it's contents using javascript,.. and when i try to read the value it doesn't get any # <div name="subscribe" > Test </div> self.request.get("subscribe") doesn0t get me any value,...

Any idea how i can read the contents of a div?

Thanks