How can i import a script into a page similar to the css @import command?
| SitePoint Sponsor |
How can i import a script into a page similar to the css @import command?
Hmm...Try:
<script src="script1.js">
</script>
Thanks.
Oh, and the script that is saved as .js, needs to have the <script> and </script> tags removed.
Bookmarks