On Aug 12, 10:47 am, Peter Otten <__pete...@web.de> wrote:
> Doug wrote:
> > I'm using elementtree to create a form.
>
> > I would like to set the "selected" attribute.
>
> > Setting using the usual
> > option.set( "selected" = "" )
>
> Maybe that should be option.set(selected="selected"). I think
Doug wrote:
> I'm using elementtree to create a form.
>
> I would like to set the "selected" attribute.
>
> Setting using the usual
> option.set( "selected" = "" )
Maybe that should be option.set(selected="selected"). I think
and
are equivalent.
http://www.w3.org/TR/html4/intro/sgmltut.