I've created a custom taxonomy and added it to the admin menu. It works fine but I'd like to tweak it a little so that the input autofocus goes to the "name" field as soon as I select to add a new term. I've looked at edit-tags.php and can't find where I can insert this.
Thanks in advance!
EDIT:
Howdy_Mcgee's code worked perfectly. Now I need to add it a second time for a different taxonomy and this time it won't work. I changed the "tag_focus" function name in the function declaration line and in the add_action line. To me, it doesn't seem I should change anything else, should I? Or can I modify the first function to work on both pages? All the code for both taxonomies is in the child theme's function file.
Thanks again!