【发布时间】:2015-05-30 00:10:58
【问题描述】:
我正在尝试为登录页面进行后期调用。用户手动输入用户名/密码。但是,我希望在用户输入他/她的用户名时将以下字段设置为 name=username。
我在下面有这些字段。我有一个隐藏字段,想用用户手动输入的用户名替换用户名位。
<input class="form-control" type="hidden" required name="username" placeholder="Username">
<input class="form-control" type="password" required name="password" placeholder="Password">
<input class="form-control" type="hidden" required name="arg" placeholder="name">
应该是这样的
username=stack
password=userset
arg='name=stack'
【问题讨论】:
-
问题不清楚,要改输入
arg的占位符还是什么?
标签: javascript html post