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 <[email protected]> wrote:
> 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" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.