How is it possible to select an input field directly by code, so that you can start typing right away?
I have tried the following commands without success:
input.focus();
input.style(‘focus’, true);
input.style(‘focus’, ‘true’);
input.style(‘focus()’, ‘true’);
…
https://p5js.org/examples/dom-input-and-button.html
I would be very happy about a clue!