Does Javascript has a function like FindControlRecursive?
<p>Each row of a ListView has a checkbox. When the user clicks <strong>Delete Selected row(s)</strong> LinkButton,  only rows that have the checkbox checked are deleted. I'm thinking about getting all the checkboxes in an array first then loop through to see which one was checked.</p>

<p>This is what I have tried.</p>

<pre><code>    function CheckBoxBeforeDeleteing() {
        var lv = document.getElementById("MainContent_ListView1");
        //var inputs = lv.childNodes;
        //alert(inputs.Length);
        alert("Test");
    }
</code></pre>

<p>If I don't comment out the 2 lines, the function is not even executed. It looks like I need to go deeper. Does Javascript has something function like the C#'s <strong>FindControlRecursive</strong>?</p>
