Hi,

If you change the model(object) then you just need to re-paint the
dropdown and it will have the new value selected.

If you want to select another value without user interaction you can
use plain JavaScript: selectEl.selectedIndex = 3;
See http://stackoverflow.com/a/6210445/497381


On Tue, Jun 26, 2012 at 9:56 AM, Josh Kamau <[email protected]> wrote:
> Hi Guys ;
>
> I have a dropdown choice component that has an onchange behavior that works
> as expected.
>
> Now, somewhere along the code, i do mydropdown.setModelObject()...
>
> I want the onchange behavior to be triggered without the user having to
> click the dropdown . Is it possible ?
>
> JOsh.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to