I have quite a few partials in my application, and some of them need to do some jQuery goodness at $(document).ready time.
The problem is, if I put the $(document).ready directly into a script block for the partial, then this gets overridden if another partial does the same thing.
It seems a solution where the various $(document).ready tidbits are gathered up and then included in a single $(document).ready instance is needed.
Is there a defined way to do this already?
well, just plain old never mind!
http://www.learningjquery.com/2006/09/multiple-document-ready
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With