vendredi 3 avril 2020

Get array of values from site page by jquery

I need csv file like: "Region title","image filename", "href value" from the site page https://sbertrade.ru/rost_region. How to do this by jquery?

I tried to get the elements by this code:

$(".item").each(function(){$(this).children('img')});

But it shows me only .item class elements. How to fetch innerText from it, then add to this image src from child elements? Thanks for any help.




Aucun commentaire:

Enregistrer un commentaire