1 回答
![?](http://img1.sycdn.imooc.com/533e4d510001c2ad02000200-100-100.jpg)
stone310
TA贡献361条经验 获得超191个赞
input(获取input元素).value=xxx(要传的值) 是这个意思?
<!DOCTYPE html> <html> <head> </head> <body> <input id="inp1" type="text"/> <script> document.getElementById("inp1").value=55 </script> </body> </html>
添加回答
举报
0/150
提交
取消