Jump to content

How can I use focus() ?


growth

Recommended Posts

I am using the code below, but the command focus() doesn´t work. Why?function ValidaCEP(field) { if (field.lenght != 8) { alert ("O CEP deve conter 8 dígitos!"); document.AlteraClienteForm.field.focus(); return false; } return true;}Thank you.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...