js get label of input code example Example: javascript get label value document.getElementById('*spaM4').textContent