I have HTML code like
<input type="text" class="input-box">
I want to execute a jQuery function when the inputbox is filled with 4 character.
For example, I type "ABCD" then the function will be executed and not for "AB" or "ABC" something like that. How can I do this?