how to get input value length >=8 in jquery code example Example: jquery get the length of input text $('input selector here').val().length