Rahul Joshi <rah...@sp...> schrieb am 20.08.2003, 00:09:24:
> Hi,
>
> Is there anyway to add option elements to a HtmlSelect ?
> In the original HTML , there is a java script that moves in options
> into a HtmlSelect that is initally empty. However I am running into
> problems with the java script.
> So I was thinking to do it programatically by moving in options
> into the HtmlSelect. Is there any way?
There might be. I didn't try it myself, but you might want to test using
the method 'fakeSelectedAttribute' of the class HtmlSelect. According to
the API documentation it should do exactly what you want.
best regards
Thomas Bartz
|