problem with using Javascript with JSF
As new to JSF, I want to know , can I use script tag to define function in the head section similear to HTML or there is any other location to do this.
I am using following .
I have defined following in head section.
<script language="javaScript>
function test()
{
alert("Have you check the value");
}
></script>
And want to call following
<h:inputText value="#{mybean.name}" onblur="test();" />
But it is not working. Am I doing somthing wrong or there is another way to call Javascript.
Thanks n Regard
Roshan

