I want to call Textbox.OnTextChange event without having to click a submit button or any button. How can I do this? As I enter text in the textbox, I want the ontextchange event to fire.
I would elaborate this further.I’ve a function for validating my entry in textbox which I’m calling ontextchange property.Now this function should be called without me changing focus from my textbox.
You can use
onkeypress,onkeyupandonkeydownevents for this.http://www.w3schools.com/tags/tag_input.asp
Example :