Buenas tardes... lo he probado y no me funciona....
sale un messagebox con :
"Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
¿¿¿???
Sabes que puedo tener mal¿?
document.forms[0].elements[0].focus()
Si mi formulario se llama FORMULARIO tengo que cambiarlo por:
document.FORMULARIO[0].elements[0].focus()
¿?¿?
y elements¿?¿? Por algo¿
No lo entiendo muy bien:
Gracias por tu atención: