In the next web page I want to select all <li>
elements with Jquery.
I want to select all the products that are inside <ul class=search-result-gridview-items">
https://www.walmart.com/browse/home-improvement/air-quality/1072864_133032_1231459
I have tried:
$(".search-product-result ul li")
$("ul.search-result-gridview-items li")
Also I have tried:
$("li")
$("ul li")
$("section li")
to select all <li>
and none works.
All of them give one <li>
and not all.
Why this happens?