inhahe at gmail.com
Mon Nov 30 19:00:03 CET 2009
On Mon, Nov 30, 2009 at 12:58 PM, inhahe <inhahe at gmail.com> wrote:
> On Mon, Nov 30, 2009 at 12:49 PM, Victor Subervi
> <victorsubervi at gmail.com> wrote:
>> If I'm not mistaken, that won't help me actually print to screen the user's
>> choices as he selects them, which in my application, is important. Please
> sure, that's where this part comes in:
> (the easiest way would probably be to give the list an id and use
> so basically you'd define, e.g., an onClick="blah('red'); return true"
> within the red element's tag, and then define a function blah(x) that
> getElementById("my_list_id").innerHtml += "<br>" + x;
> and of course give your list textarea an id="my_list_id" attribute in the tag.
also don't forget to sanitize the data you receive before committing
More information about the Python-list