1 Feb 2009 13:31
Re: looking for suggestions on retaining comoboboxvalues even after pageload
GaRaGeD Style <garaged <at> gmail.com>
2009-02-01 12:31:01 GMT
2009-02-01 12:31:01 GMT
On Fri, Jan 30, 2009 at 3:33 AM, venkatesh rao <venky034 <at> yahoo.co.in> wrote:
> Hi Claudio,
>
>
>
> I am working on java and I tried to use the syntax which you suggested but
> this is not working.
>
>
>
> dijit.byId('myComboBoxId').setValue(
>
> <%= "Welcome"%>);
>
>
>
> This gives Welcome undefined.
>
You are missing quotes:
...setValue('<%= "Welcome"%>');
I still have a similar problem,I try to put (via setValue or
attr('value'...) but the combo displays what I put as value.
If i put
dijit.byId('combo').attr('value', 15);
The combo displays "15", instead of the actual value corresponding to the 15 ID.
(Continue reading)
RSS Feed