I’m very sorry to ask such an easy question for you. I can use a jQuery function in my html pages. But I do not know how to use one in my javascript source file? Please let me know.
Thank you in advance.
Edit: Currently , I use the following declaration at the head of my javascript source file.
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.2.3/jquery.min.js"></script>
You can do it in exactly the same way. You will just need to link the jQuery source file before you link the external JS file with the jQuery in it so that it knows how to handle it.
Here is an example for hosted jquery:
test.html
test.js
Here is an example for embedded jquery:
test.html
test.js