manwan1

External JavaScript

Jun 12th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. External JavaScript
  2. Scripts can also be placed in external files:
  3.  
  4. External file: myScript.js
  5. function myFunction() {
  6.  document.getElementById("demo").innerHTML = "Paragraph changed.";
  7. }
  8.  
  9. download file : http://ow.ly/Dg6u30oVSwK
Advertisement
Add Comment
Please, Sign In to add comment