[jQuery] Can I have multiple $(document).ready() calls in a single page?
I've got a bunch of form widgets (these are server-side widgets) and a
lot of them depend on some various jQuery javascript tricks.
I would like to be able to do something like this:
$(document).ready(
function () {
set_up_widget_1();
}
);
$(document).ready(
function () {
set_up_widget_2();
}
);
Is this dangerous? It will make my server-side much simpler.