[jQuery] Loading scripts with jquery

[jQuery] Loading scripts with jquery


Hi,
I want to know if jQuery knows if I'm trying to import a given
javascript file that was already loaded by it. For example, I want to
make sure that the following code only loads the myJs.js javascript
file only once. Is this handled by the library?
<script language="javascript">
//assume jquery already loaded
jQuery.getScript( "myJs.js");
//work with myJs
jQuery.getScript( "myJs.js");
</script>
I know it's easy to try it out, and I also followed the code and it
doesn't seem to take this into consideration. Are you planning on
working with something like this?
Best Regards
AB