saasbook

including_javascript.html

May 1st, 2012
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.33 KB | None | 0 0
  1. <div id="ex1">
  2.   <p>JavaScript Example</p>
  3.   <script language="javascript"> <!--
  4.    function simpleExampleHere() {
  5.     ;
  6.    // simple example
  7.    // -->
  8.   </script>
  9.   <p>Rest of page...</p>
  10. </div>
  11.  
  12. <head>
  13.   <script type="text/javascript" src="/assets/myscript.js"/>
  14. </head>
  15. <body>
  16.   <p>JavaScript Example</p>
  17.   ...call simpleExampleHere()
Advertisement
Add Comment
Please, Sign In to add comment