Problems with afh:body onload and javascript file
588803Jul 18 2007 — edited Sep 5 2007Hi
I have a problem this code below:
<afh:head>
<f:verbatim>
<script src="../scripts/file.js" type="text/javascript"/>
</f:verbatim>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
</afh:head>
<afh:body onload='document.getElementById("formAltera:nuCmc7").focus();'>
...
If I let this way, the onload focus command doesn't work.
But if I comment the Javascript file, the focus goes on.
Thanks in advance for help
Flavio