質問

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