Home › Forums › JavaScript › /SOLVED/ What is wrong? (toggle) › Reply To: /SOLVED/ What is wrong? (toggle)
August 20, 2014 at 1:58 pm
#180038
Participant
Alternatively, you can follow current best practices and put all your javascript just before the closing body
tag and omit the .ready() call since by the time your JS executes the document will be ready.
There are certain exceptions to this best practice but in general most external JS files should be loaded at the end of the document before the closing body
tag.