Completely OT

Victor Subervi victorsubervi at
Mon Nov 30 18:49:09 CET 2009

On Mon, Nov 30, 2009 at 1:39 PM, inhahe <inhahe at> wrote:

> i'm pretty new to javascript programming, but i'm pretty sure you just
> need ajax, which AFAIK is a highly technical way of saying "using
> javascript in a way that makes web pages interactive"
> JSON afaik is a way of data to and from the server that allows for
> lists and more variable types and such, but also requires the user
> download a third-party js file that implements JSON.  i don't think
> you'd technically need JSON, because you could simply send the server
> a string of all the colors selected delimited by a space or | or
> something.
> javascript also probably has inherent functions for generating xml,
> considering that the object you use to communicate with the server is
> an xmlhttprequst. but i think xml might be overkill in this case.
> the javascript would populate the list for the colors the user selects
> (the easiest way would probably be to give the list an id and use
> getElementByID()), and then when he's done it would create an
> xmlhttprequest object to send the data to the server.

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

> On Mon, Nov 30, 2009 at 7:26 AM, Victor Subervi <victorsubervi at>
> wrote:
> > Hi;
> > I need a recommendation. I want to print out data like this:
> >
> > <td bgcolor='blue'><a href='???'>blue</a></td>
> > <td bgcolor='red'><a href='???'>red</a></td>
> >
> > and enable the user to select the various colors he wants to add to a
> list
> > that would populate itself on the same page where the selections are, and
> > then, once he's selected all the colors he wants, click to add them all
> at
> > once to a table in a database, and move on to the next page. I believe
> this
> > is achieved through JSON and AJAX; however, I haven't been able to google
> > any demonstrations of this sort. Am I correct, or should I use some other
> > sort of technology?
> > TIA,
> > Victor
> >
> > --
> >
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list