3 Replies Latest reply on Apr 2, 2008 11:18 AM by eroussel

    "onchange" event for rich:inplaceSelect

      Hello,

      I'm looking for a way to trigger a Javascript function after a rich:inplaceSelect value's has been updated. Unfortunately, rich:inplaceSelect doesn't have an "onchange" event listener (like rich:inplaceInput does).

      What's the proper way of triggering Javascript code after the value of a rich:inplaceSelect has been updated?

      Thanks.

        • 1. Re:
          ilya_shaikovsky

          both components has special JS events:

          oneditactivation
          onviewactivation
          Fired before applying new value. cancelable.

          oneditactivated
          onviewactivated
          Fired after/b> applying new value. Could be used to perform saving request... etc..

          • 2. Re:
            ilya_shaikovsky

            in your case

            oneditactivated
            onviewactivated

            should be used

            • 3. Re:

              Thanks. That's what I was looking for.