What is the best way to simulate a user entering text in a text input box in JS and/or jQuery?
I don\'t want to actually put text in the input box,
You could dispatching events like
el.dispatchEvent(new Event('focus')); el.dispatchEvent(new KeyboardEvent('keypress',{'key':'a'}));