dynamically associate radio buttons with droplists

Shoryuken sakradevanamindra at gmail.com
Wed Jun 24 09:09:37 EDT 2009


On Jun 21, 8:43 pm, a... at pythoncraft.com (Aahz) wrote:
> In article <f28e2bcc-3b51-4d43-81e7-9a7810040... at o36g2000vbi.googlegroups.com>,LeoBrugud <sakradevanamin... at gmail.com> wrote:
>
>
>
> >Not being very familiar with python, nor with cgi/http,  I intend to
> >have 3 of buttons in a webpage, each of them is associate with a file
> >(so I have 3 files, too)
>
> >What I would like to have is, when users choose a button, the droplist
> >update automatically to load the contents of the associated file.
>
> >Can someone educate me the approach of this?
>
> Are you trying to do this without requiring the user to click the submit
> button?  If yes, you need to learn JavaScript (although I think there are
> web frameworks that will auto-generate the JavaScript, you need to know
> JavaScript in order to do debugging).
> --
> Aahz (a... at pythoncraft.com)           <*>        http://www.pythoncraft.com/
>
> "as long as we like the same operating system, things are cool." --piranha

Thanks, and yes I want to do it without the submit button

So python alone cannot do this?



More information about the Python-list mailing list