js操作label给label赋值及取label的值示例_javascript技巧
程序员文章站
2022-03-26 10:05:26
...
取值:var Label_text=document.getElementById('test_label').innerHTML;
赋值:document.getElementById('test_label').innerHTML = ids;
赋值:document.getElementById('test_label').innerHTML = ids;