SyntaxFix
Write A Post
Hire A Developer
Questions
Don't use $(document).ready() just put the script directly in the head section of the page. Pages are processed top to bottom so things at the top are processed first.