使用表中的数据自动填充文本框
我有一个文本框,用于输入给定原木(木原木)的“铣削体积”。但是,我希望由相同的日志“初始量”自动填充该字段,该日志已从单独的表单填写并提交并存储在单独的表中,当用户单击时,如何引用相应的“初始量”文本框填写此文本框
<div class="row">
<div class="col-md-4">
<label>Volume (m<sup>3</sup>)</label>
</div>
<div class="col-md-8 form-group">
<input type="text" class="form-control" name="milled_volume" required>
</div>
</div>
I have a textbox for inputting the "milled volume" of a given log(wooden log). However I want to have this field auto filled by the same logs "initial volume" which is already filled and submitted in from a separate form and stored in a separate table, how can I reference the corresponding "initial volume" when a user clicks on the text box to fill in this text box
<div class="row">
<div class="col-md-4">
<label>Volume (m<sup>3</sup>)</label>
</div>
<div class="col-md-8 form-group">
<input type="text" class="form-control" name="milled_volume" required>
</div>
</div>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论