js操作label给label赋值及取label的值示例
内容摘要
取值:var Label_text=document.getElementById('test_label').innerHTML;
赋值:document.getElementById('test_label').innerHTML = ids;
赋值:document.getElementById('test_label').innerHTML = ids;
文章正文
取值:var Label_text=document.getElementById('test_label').innerHTML;
赋值:document.getElementById('test_label').innerHTML = ids;
赋值:document.getElementById('test_label').innerHTML = ids;
代码注释