Home >Web Front-end >JS Tutorial >js operates label, assigns value to label and takes label value example_javascript skills

js operates label, assigns value to label and takes label value example_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:16:591972browse

Take值:var Label_text=document.getElementById('test_label').innerHTML;

觬值:document.getElementById('test_label').innerHTML = ids;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn