I am trying to use a $(function) in a document template. When I look at "Inspect" in Chrome, I get an error:
Uncaught ReferenceError: $ is not defined.
in my code does not seem to help.
What are the correct <script> statements or references in order to use the $(function) in a document template?
it should be the jquery library which should look something like: <script src="code.jquery.com/.../script>
You may check the correct version that you need from here: https://code.jquery.com/
I suggest you download the file you need and save it as a Hosted file in your zone so that you always reference something from within your app and nothing external like the example above.
Hope that helps,