I find the following code in an html document:
    <script type="text/javascript">
    $(function () {
    ...
    });
I cannot see any intrinsic events like onload = and would like to know how this code is called?
What is the real name and scope of this function and can I call any function defined inside? How?