Hello all
I have a javascrip function ( myFunction() ) that I want to load when one specific page is loaded (don't worry, my question is about
JSF not about Javascript ), In my page I have several input text fields, only the first field is enable, and the rest of them become enable as the user goes filling out the fields. The javaScrip code is a simple alert message, I want to see the message every time I go to that page and every time one of the input text fields that is disables becomes enable.
Where should I call the javascript function?, I already tried in ui:define onload attribute, but the functions is never called, also I tried in the h:form onsubmit attribute and I don't see any message when the value changes in each input field and the form is submitted, I only see the message when all the input fields have been filled out and I press the next page button and the form is submitted.
the structure of my pages is as follows:
Thanks in advance