jquery - Is it allowed to have more than one document.ready in a page? -


possible duplicate:
jquery - multiple $(document).ready … ?

does matter if have more 1 document.ready in page? because have javascript files of them have phrase inside. cause problem? logical or syntax problem?

nope, fine.

one more great thing $(document).ready() didn't mention in previous post can use more once. in fact, if don't care @ keeping code small, litter javascript file them

source.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -