Horje
get a span inside a div with div id javascript Code Example
[Solved] - get a span inside a div with div id javascript Code Example
Try following codes
get a span inside a div with div id javascript
var toggle = <HTMLDivElement>document.getElementById('status_toggle'+index);
toggle.getElementsByTagName('span')[0].style.background = '#2dce89';
Date: 2022-05-21 05:02:10
Category: typescript
More for You