Answer :

Explanation:

Giving autofocus to a textarea is basically saying "When the page loads, this textarea should be focused" So focusing another element isn't a problem: If that error is occurring, just use the .blur() method on the textarea you want to lose focus on. Then do the .focus() method on the one you want focused

Other Questions