how to put form and display its result(data from database) on the same window?

Peter Hansen peter at engcorp.com
Wed Dec 7 18:57:30 EST 2005


lli at sos.state.tx.us wrote:
> I have designed a web application. In its one window I put a form. User
> can click submit button of this form to run a pathon script to get data
> from database. Then User get a new window which display the result. Now
> I want to put the form and display data on the same window. How I can
> do this?

The most modern approach to this, and one which appears to be evolving 
into a defacto standard, is AJAX (see http://en.wikipedia.org/wiki/AJAX 
and others).

It's a non-trivial solution to your problem, however, at least in terms 
of the learning curve involved.

-Peter




More information about the Python-list mailing list