I'm on Wicket 1.5.x w/ IE 9 and the following behavior attached to a
DropDownChoice works just fine for me:

new AjaxEventBehavior("onchange") {
  private static final long serialVersionUID = 1L;
  @Override
  protected void onEvent(AjaxRequestTarget target) {
    System.out.println("onchange of: " + getComponent().getId());
  }
}
~ Thank you,
   Paul Bors

On Mon, Feb 11, 2013 at 11:21 AM, divad91 <diva...@hotmail.com> wrote:

> Sorry, i am using wicket 1.4.21.
>
> My onchange behavior does not change the value. My behavior only prepend
> javascript only for a specific value.
>
> I am not changing the value programatically. On first page acces, if I
> select any option in the drowndown, the onchange event will not be trigger
> except if I click anywhere else on the page.
> If I come back in the same page, the same scenario will work without
> clicking anywhere else in the page.
>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/IE-DropDown-onChange-behavior-not-triggered-on-first-time-tp4656237p4656241.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to