Hi,
problem in javascript validation , how to make call to javascript ?
<html>
<head>
<script type='text/javascript'>
function validate()
{
alert('hi');
}
</script>
</head>
< body>
<ice:panelGrid>
<ice:inputText/>
.....
...
...
</ice:panelGrid>
<ice:commandButton onclick="validate();"/>
</body>
</html>
I am not able to access the javascript.Getting error as validate not defined.
same if defin is onClick="alert('hi');" this alert message is working well.
So what changes should i do the invoke javascript ?