Answers for "get a span inside a div with div id javascript"

1

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';
Posted by: Guest on January-27-2021

Code answers related to "get a span inside a div with div id javascript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language