Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

which attribute use in html show decided password site:stackoverflow.com

$('button[name="btn-login"]').click(function() {
    if($('input[name="pass"]').val().length < 8) {
        alert('Minimum length = 8');
    } else {
        $('form').submit();
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #attribute #html #show #decided #password
ADD COMMENT
Topic
Name
9+1 =