Using $ (document) .ready () in an external javascript file is fine - it will work the same way :) Actually - it will not only work, but it is good practice, as it helps to separate content (HTML) from behavior (Javascript )
javascript , <head> . -, , .
jQuery, ββ:
<html>
<head>
<script type="text/javascript" src="/path/to/jquery.js"></script>
<script type="text/javascript" src="/path/to/plugin.js"></script>
</head>
<body>
<script type="text/javascript" src="/path/to/your_jQuery_code.js"></script>
</body>
</html>