javascript problem

Soldato
Joined
1 Feb 2006
Posts
8,188
hi, trying to do some javascript validation here and I want to set the focus back to a certain field if it is empty.

This is the code I am using but this doesn't seem to work! Any ideas?

Code:
document.getElementById("title").focus();
 
Back
Top Bottom