2 回答
已采纳

我心已定
TA贡献10条经验 获得超6个赞
设置一个input:
<input type='text' id="a">
使用js的attr函数
<script>
$("#a").attr("type","你想修改的type");
</script>
- 2 回答
- 0 关注
- 1302 浏览
添加回答
举报
0/150
提交
取消