i have jsf datatable in which javascript function not working, i called inputTextChanged()
in javascript from datatable but its not working...
<h:dataTable value="#{order.orderList}" var="o" id="table_Details" >
<h:column>
<h:inputText value="#{o.productName}" id="proname" name="proname" onchange="inputTextChanged()" />
</h:column>
<h:column>
<h:inputText value="#{o.price}" id="proprice" name="proprice" onchange="inputTextChanged()" />
</h:column>
</h:dataTable>
and javascript
function inputTextChanged()
{
alert ('Event Fired');
}