 |
- Generally, three ways to call a JavaScript:
- An external file with a <script> tag calling the source.
- Script tag in head, with functions
- Inline JavaScript calls
- Declare a function in the <script> tag, and
you can call it anywhere.
- Add inline JavaScript to a tag, and it executes in that
tag only.
|