javascript:how to write $(document).ready like event without jquery

Viewed 20057

in jquery $(document).ready(function) or $(function) , how could I do the same thing without jquery, and I need browser compatiable, and allow to attach more than one function.

Note: dom ready!= window onload

7 Answers
Related