문제

So i have some javascript functions all around my website and i would like to organize them in one file.js

So i can call the file in the header like this:

<script src="myfunctions.js"></script>
도움이 되었습니까?

해결책

Simply cut and paste the contents between the <script> tags into myfunctions.js.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top