我如何获得此输入ID值的此值(此值是从其他输入值通过ID加载的)
这是形式 输入级之间的值是从myid中从另一个使用javascript create.element创建的输入的名称*值。
我的Q是,如何获得值 name 并进入
<form method="POST" action="name.php">
<input type="hidden" name="myname" id="myid" value="000" >name</input>
<input type="submit" name="submit" >
</form>
。
名称
THIS IS THE FORM
the value between the input tage is the name* value that coms from the myid from another input that was created with javascript create.element.
my qs is that how can i get the value name and into the name.php
<form method="POST" action="name.php">
<input type="hidden" name="myname" id="myid" value="000" >name</input>
<input type="submit" name="submit" >
</form>
the php only get the value 000
thank you for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
名称
不会发送到name.php
,只有value
in&lt; input&gt;
可以发送到操作URL.O因此,如果要获取name
,则可以添加另一个&lt; input&gt;
喜欢:如果要使它可编辑,只需删除
readonlyly
。name
won't be sent toname.php
, onlyvalue
in<input>
can be sent to the action url.So if you want getname
, you can add another<input>
like:And if you want make it editable, just remove the
readonly
.