خرید بک لینک

Vote count: 0

I am looking to fill an array with <a> elements on an AngularJS site. Here is my array code:

$ProgramGuides = $ProgramGuidesPage.ParsedHtml.getElementById("content") | foreach {
                    $_.getElementsByTagName("ul").item(0) | foreach {
                        $_.getElementsByTagName("li") | foreach {
                            $_.getElementsByTagName("a")
                        }

              }
}

$ProgramGuides only retus 1 <a> element meanwhile there are 10+ <a> elements on the page. I can only imagine this has something to do with Angular and ng-repeat on the elements. Any ideas how I can get all the <a> elements into my array?

Here is the HTML of the Angular page: enter image description here

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 10 ارديبهشت 1395 ساعت: 3:31

صفحه بندی