you have a form like
<h:form id="foo">
...
<h:inputText id="input" ... />
</form>
and now you are wondering why nothing happens for getElementById("input");
?
The rendered result for the input will be "foo:input".
Try
a) foo:input
b) Trinidad form (which is not a naming container)
c) <t:inputText forceId="true" />
Or what is your issue ?
-Matthias
On 7/24/06, Chandra Sekhar <[EMAIL PROTECTED]> wrote:
Hi ,
Can any one please tell me the way to handle the OnChange Event on the
input fields.On a Change of the value on a field I have to call a JavaScript
function inorder to clear all the fields.But this is not working for me.Can
you please suggest a way for this.
Rgds,
Chandru.
--
Matthias Wessendorf
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com