[jQuery] Re: $strip has no properties (??)

2007-07-27 Thread GianCarlo Mingati
Hi, no, inserting a variable that if it's true calls the function that scrolls the P. You gave me the idea. GC On Jul 26, 7:08 pm, Ganeshji Marwaha [EMAIL PROTECTED] wrote: do u mean it works if u put it into the $.get() callback? Eitherways, glad it worked -GTG On 7/26/07, GianCarlo

[jQuery] Re: $strip has no properties (??)

2007-07-26 Thread Ganeshji Marwaha
This is because, $.get() is asynchronous and your call to scrollmarquee is done before $.get() finishes in the background. One solution would be to place setInterval(scrollmarquee, 20); method within the callback of $.get() like this... $.get(url, function() { // your other stuff of inserting

[jQuery] Re: $strip has no properties (??)

2007-07-26 Thread GianCarlo Mingati
Hi thanks for your suggestion is not working... inserting setInterval(scrollmarquee, 20) into $.get() isnot called at all. GC On Jul 26, 9:48 am, Ganeshji Marwaha [EMAIL PROTECTED] wrote: This is because, $.get() is asynchronous and your call to scrollmarquee is done before $.get() finishes in

[jQuery] Re: $strip has no properties (??)

2007-07-26 Thread GianCarlo Mingati
It works Thank you Cheers GC