SyntaxFix
Write A Post
Hire A Developer
Questions
Have you tried simply selecting by Id?
$("#header").focus();
Seeing as Ids should be unique, there's no need to have a more specific selector.