[jQuery] jAlert plugin help

2009-03-13 Thread MGA
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");

[jQuery] jAlert plugin help

2009-03-13 Thread MGA
I can't seem to set the focus back to a text field after a jAlert message. This is the code: function divCheck() { if (document.form1.First_Name.value.length==0){ jAlert("Please enter your First Name.", "Attention"); document.form1.First_Name.focus(); return false; }