Basically, my advice would be :

   1. first, load jQuery
   2. then load jQuery extensions (UI, plugins)
   3. then load your own domain-specific extensions (method declarations,
   etc.)
   4. then load your page hooks (in a $(function() { ... }) block so it
   starts when the page is complete), preferably grouped by functionalities

And it's usually better to write less code in 4. than in 3. (4. is
preferably just for hooks).

Michel Belleville


2009/12/4 coolf <jm.neut...@gmail.com>

> ok, thanks for the response.
> But what is the best, is it good to have more than a "documen.ready" ?
> it doesn't bring problems?
>
> On 4 dic, 11:33, Andreas Möller <localhe...@l8m.de> wrote:
> > > Hello i'm new here, Is it posible?
> >
> > Yes, it is.
> >
> > Best regards,
> >
> > Andreas
>

Reply via email to