http://www.javascript-coder.com/javascript-form/javascript-form-submit.phtml

Use the method in the page. Don't use a submit button but a <a> tag
with an onClick attribute.
In the Javascript function update some <div id="lookup"></div> Tag
with the "I'm starting the lookup" text and then submit the form.
When the request is ready the page will update.

2009/5/6 Jim <[email protected]>:
>
> I have a function that goes and looks up some data.   I'd like to say
> something to the user after they click submit but before I have any
> results.
>
> I've tried HttpResponse with response.write as well as
> self.response.out.write
>
> The problem with both of them is that they wait until the function is
> done before they output anything.   Saying "I'm starting the lookup"
> doesn't work so well when they see it after the fact ...
>
> I've done about 90 minutes of Googling and looking at the Django docs
> and am coming up empty.
>
> Thanks!
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to