I have a php page where I manage the password change request, I\'m having trouble calling a javascript function to check if the new password has at least a special character and