I saw somebody using this code to operate a richFaces object. But how to referenc JSF object, like h:inputText?
"#{rich:component('dob')}.getCurrentDate()"
Where is the document of rich:component?
Thanks
I realized that jQuery is one of the solutions.
onchanged="jQuery('input[@id*=:age]').attr('value', calcAge(#{rich:component('dob')}.getCurrentDate()))"
I don't know if this is the best way.