Thanks, it seems to have worked:-)
I suppose it doesn't harm to set the time interval to a value greater
than 10, right?

Thanks again
Francesco

On Apr 19, 8:56 pm, Christof Donat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > Is it possible, somehow, to defer the execution of the first script to
> > after the loading of jquery? Alternatively would it be possible to
> > anticipate the loading of jquery without placing it before the failing
> > script?
>
> > Any help would be very appreciated.
>
> You could try something like this:
>
> var int = window.setInterval(function() {
>         if( $ ) {
>                 window.clearInterval(int);
>                 $(function() {
>                         // ... your code
>                 });
>         }
>
> }, 10);
>
> This is kind of brute force and I have not tested it now, but I'd expect i to
> do the job.
>
> Christof

Reply via email to