✅ – _mercury – 21-33 Dec 30

I had many instances of divs that each contains an input they are generated dynamically I want ant click on the div to focus the input ?
M
_mercury475d ago
like this
<div>
<input />
</div>
<div>
<input />
</div>
S
ScriptyChris475d ago
You should swap <div> for <label> And such wrapped <input /> should then receive a focus after interaction with it's label
UU
Unknown User474d ago