I want to write some text in an input tag only by triggering keyboard events by programming.
I don't want to using something like
elem.value = 'some random text'
I really need to simulate keyboard to write code in this input tag. pure Javascript is my goal, but if there is a good jQuery way, I will appreciate that too!