<script language="javascript" type="text/javascript">
window.onload = function(){
document.getElementById("id_input").focus();
}
</script>
ó
<script language="javascript" type="text/javascript">
function foco(id){
document.getElementById(id).focus();
}
</script>
<body onload="foco("id_input");" >
No hay comentarios:
Publicar un comentario