[jQuery] external jQuery calls
Forgive me if this is a silly question, but is it possible to call an
external .js file that contains jQuery code? For instance, instead of
writing something like this:
<script type="text/javascript">
$(function(){
$("#myid").load("myfile.html");
});
</script>
I would like to do something like this:
<script type="text/javascript" src="/jquery_scripts.js"></script>
I have tried without success. Any help (even ridicule for not grasping
the basics of jQuery) is appreciated.