Hello
I tried to use $$ to make flash effect on some <a> elements in my site
the code looked like this :
var itemsArray = $$("a.resultsSummary");
for (var i=0;i < itemsArray.length;i++)
{
var item = itemsArray[i];
alert(item);
...
}
however, the alert(item) prints empty string. I would expect
"HtmlAElement" or something like this...
when I do item.style.backgroundColor = "yellow" it works fine, but
when I store it to a timer (in order
to turn it off) it is not working.
any help ?
--
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.