0

I am using JSF 2, i have a requirement where i have to update second textearea while i am typing in textarea 1.

 TextArea1: <h:inputTextArea  maxlength="100" id="myTextarea" value="" />
 TextArea2:<h:inputTextArea  maxlength="100" id="output" value="" />

can someone help me out on this, though using jquery we can achieve this but i am looking for ajax component facility from JSF ?

Bifrost
  • 417
  • 5
  • 23
  • @BalusC thanks it worked . Just want to know that can we achieve this without using js or jquery. Can we use some JSF ajax component to achieve this ? – Bifrost Mar 08 '18 at 09:07
  • 1
    You should have clearly stated that in your question... – Jasper de Vries Mar 08 '18 at 10:40
  • And what do you think the Ajax components use behind the scenes? The 'dogma' that everything should be done with jsf components is as bad as the one that everything should be done with new hyped JavaScript frameworks just use best of both worlds – Kukeltje Mar 08 '18 at 11:49

0 Answers0