//Check the Confirm Passwordfunction
ValidateConfirmPassword(text1,text2,spanID){ document.getElementById(spanID).innerHTML= ''; textElement1=document.getElementById(text1); textElement2=document.getElementById(text2); var txt1 = textElement1.value; var txt2 = textElement2.value; if ( txt1 != txt2) { document.getElementById(spanID).innerHTML= 'Verify your password again'; return false; } else { return true; }}
No comments:
Post a Comment