I want that as you type in the textfield the div changes (I have the code for changing the div already). However the onchange event is only called once you are finished and
onChange is fired when the input looses focus I think. onKeyUp should do the trick for you.
onChange
onKeyUp