I have an input field. When the user start typing I'm using the "click" function to do some logic with the text.
The thing I would like to do is to have a list that gets updated when the user have entered more than 3 characters.
As soon as the users enters more characters the "Dona" part below gets updated.
The user enteres "Dona.."
The list says:
Add "Dona" as a contact Add a task with the Subject "Dona" and so on
What I have today is:
$("#inp").keyup(function() {
if ($("#inp").text.length > 3) {
$("#list").append('<li></li>')
}
});
I cant get the counter to work. I'm able to append