Re: [Proto-Scripty] Delay function fails element.GetElementsByTagName is not a function

2011-02-28 Thread Jusuff
W dniu 2011-02-28 09:56, kstubs pisze: I'm getting the error element.GetElementsByTagName is not a function when using the delay function like this: $('test').update.delay(3,'update text'); Try: Element.update.delay(3, 'test', 'update text'); Greets Jusuff -- You received this message bec

Re: [Proto-Scripty] Delay function fails element.GetElementsByTagName is not a function

2011-02-28 Thread Alastair Young
I think it's because delay is an extension of function - not element. You could try something like: fnUpdate.delay(3,"test","update text"); function fnUpdate(sObj,sMsg) { $(sObj).update(sMsg); } On 28 February 2011 08:56, kstubs wrote: > I'm getting the error element.GetElementsByTagName is

[Proto-Scripty] Delay function fails element.GetElementsByTagName is not a function

2011-02-28 Thread kstubs
I'm getting the error element.GetElementsByTagName is not a function when using the delay function like this: $('test').update.delay(3,'update text'); Am I doing something wrong? Karl.. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us"