2 Replies Latest reply on Dec 2, 2011 10:01 AM by c z

    h:inputTextarea value change

    c z Newbie

      hello,

      I have a question about <h:inputTextarea> component's value change event. If it's value is changed (by keypresses, setValue(), copy-paste etc.), immediately i need to run a javascript function. onchange runs when it loses its focus. Neither onchange event nor valueChangeListener solved problem. I need something like :

      <h:inputTextarea onvaluechange='alert('value changed');'>

      What do i need to do?

       

      thank you