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];

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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to