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