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");
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;
}
2 matches
Mail list logo