标签:change asc document val bsp account element hang value
HTML:
<select id="hhh" onchange="aa()"><option value="11">1</option><option value="22">2</option><option value="33">3</option></select> <input class="company" id=‘account‘ >
JavaScript:
<script type="text/javascript"> function aa(){ document.getElementById(‘account‘).value=document.getElementById(‘hhh‘).value; } </script>
标签:change asc document val bsp account element hang value
原文地址:http://www.cnblogs.com/yuanxinru321/p/7866282.html