javascript to external .js file -
can't figure out proper syntax place javascript code .js file.
<script type='text/javascript' src='http://hostedusa3.whoson.com:8080/include.js?domain=www.yourdomain.com'></script> <script type='text/javascript' > if(typeof swotrackpage=='function')swotrackpage(); </script>
if want inline code inside separate file, have move contents of second script
tag .js
file. then, set src
attribute second <script>
reference new file's url (relative or absolute).
Comments
Post a Comment