Home  >  Article  >  Backend Development  >  html js 有关问题

html js 有关问题

WBOY
WBOYOriginal
2016-06-13 13:46:38987browse

html js 问题
html中的元素 我怎么能用js为xxx赋值呢,比如js里有变量a ,b ,我要让 这个应该如何做?

------解决方案--------------------

HTML code

<input name="yy" title="yy" id="y" onchange="fz()">
<input name="xxx" title="xxx" id="x"> <div class="clear">
                 
              
              
        
            </div>
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