Hi,

I'm new to jQuery and I'm trying to set the focus back to a text field
after a jAlert message. Here is the code I'm using. Any help would be
really appreciated!

function divCheck() {
   if (document.form1.First_Name.value.length==0){
   jAlert("Please enter your First Name.", "Attention");
   document.form1.First_Name.focus();
   return false;
   }

Thanks!

Reply via email to