Gridview rows blinking
<p>I tried blink the rows of ASp:Gridview. Have succeded in IE but not working in FF and safari. FF error console says "Error: gridRef.childNodes is not a function" Can anybody tell me where exactly I am wrong...</p>

<p>The Javascript used is:</p>

<pre><code>&lt;script type="text/javascript"&gt;
&lt;!--
    function blinkElement(elementId)
    {
        var elementRef = document.getElementById(elementId);
        var blinkCounter = parseInt(elementRef.blinkCounter);
        if ( isNaN(blinkCounter) == true )
            blinkCounter = 0;

        if ( (blinkCounter % 2) == 0 )
        {
            elementRef.style.visibility = 'visible';
        }
        else
        {
            elementRef.style.visibility = 'hidden';
        }

        if ( blinkCounter &lt; 1 )
        {
            blinkCounter++;
        } 
        else
        {
            blinkCounter--
        }

        elementRef.blinkCounter = blinkCounter;
        window.setTimeout('blinkElement(\"' + elementId + '\")', 700);
    }

    function blinkGridViewRows()
    {
        var gridRef = document.getElementById('&lt;%= gvUsers.ClientID %&gt;');

        for (var i=0; i&lt;gridRef.childNodes.length; i++) 
        { 
            var bodyRef = gridRef.childNodes(i); 
            for (var j=0; j&lt;bodyRef.childNodes.length; j++) 
            { 
                var trRef = bodyRef.childNodes(j);

                if ( trRef.blinkingRow == 'Y' )
                {
                    blinkElement(trRef.id);
                }
            } 
        }
    }

    window.onload = blinkGridViewRows;

    // --&gt;
&lt;/script&gt;
</code></pre>

<p>and on my gridview_rowdatabound I have </p>

<pre><code>e.Row.Attributes.Add("blinkingRow", "Y"); 
</code></pre>
