<div name="frmCheckPassword" id="frmCheckPassword">
<label>Check Username:</label>
<input type="password" name="password" id="password" class="demoInputBox" onKeyUp="checkPasswordStrength();" /><div id="password-strength-status"></div>
</div>
function checkPasswordStrength() {
var number = /([0-9])/;
var alphabets = /([a-zA-Z])/;
var special_characters = /([~,!,@,#,$,%,^,&,*,-,_,+,=,?,>,<])/;
if($('#password').val().length<6) {
$('#password-strength-status').removeClass();
$('#password-strength-status').addClass('weak-password');
$('#password-strength-status').html("Weak (should be atleast 6 characters.)");
} else {  	
if($('#password').val().match(number) && $('#password').val().match(alphabets) && $('#password').val().match(special_characters)) {            
$('#password-strength-status').removeClass();
$('#password-strength-status').addClass('strong-password');
$('#password-strength-status').html("Strong");
} else {
$('#password-strength-status').removeClass();
$('#password-strength-status').addClass('medium-password');
$('#password-strength-status').html("Medium (should include alphabets, numbers and special characters.)");
}}}

Comments

  1. DavidLef

    Totally! Declaration expos‚ portals in the UK can be awesome, but there are numerous resources at to cure you mark the unmatched one for you. As I mentioned in advance, conducting an online search for https://gingerparrot.co.uk/pags/step-by-step-guide-how-to-delete-news-on-pinterest.html “UK scuttlebutt websites” or “British story portals” is a vast starting point. Not one purposefulness this give you a encompassing tip of news websites, but it intention also provender you with a punter savvy comprehension or of the in the air communication landscape in the UK.
    Aeons ago you secure a itemize of potential rumour portals, it’s important to evaluate each anyone to determine which best suits your preferences. As an example, BBC Advice is known quest of its intention reporting of information stories, while The Guardian is known quest of its in-depth criticism of political and sexual issues. The Self-governing is known championing its investigative journalism, while The Times is known in the interest of its vocation and finance coverage. By way of understanding these differences, you can pick out the talk portal that caters to your interests and provides you with the rumour you want to read.
    Additionally, it’s quality all in all neighbourhood expos‚ portals because explicit regions within the UK. These portals yield coverage of events and dirt stories that are relevant to the область, which can be firstly cooperative if you’re looking to charge of up with events in your local community. In place of instance, provincial good copy portals in London classify the Evening Canon and the Londonist, while Manchester Evening News and Liverpool Reproduction are stylish in the North West.
    Inclusive, there are numberless news portals at one’s fingertips in the UK, and it’s high-level to do your experimentation to find the one that suits your needs. By means of evaluating the unalike low-down portals based on their coverage, variety, and essay viewpoint, you can select the a person that provides you with the most apposite and engrossing info stories. Esteemed success rate with your search, and I anticipation this information helps you reveal the correct dope portal for you!

Zarhbn için bir cevap yazın Cevabı iptal et

E-posta hesabınız yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>