I have a div inside that has a number of spans. Now I want to read all the text of all the gaps along with the identifier thrir and fill it in the javascript map, where key = spanid and value = "text span.How can I do this?
Eg <div mydiv="xyx" > <span id ="sp1" > M/span> <span id ="sp2" > M/span> .... .. </div>
How can I fill out the card?
javascript html
akshay
source share