avatar
get the length of the value of element JQuery
// Declaration
this.$dob = $('#element');

// Selects an element with the ID "element" using the jQuery
const temp = this.$dob.val() as string;

// Usage 
console.log(temp.length);
You need to login to do this manipulation!