【发布时间】:2018-02-22 01:57:36
【问题描述】:
这是我在form.html中的表格,我要做一个ajax调用类型的帖子
<div class= "container " >
<div class="form-group ">
<label for="id">Id</label>
<input type="text" class="form-control" id="id" >
</div>
<div class="form-group">
<label for="name">Nome</label>
<input type="text" class="form-control" id="name">
</div>
<div class="form-group">
<label for="pwd">Prezzo</label>
<input type="text" class="form-control" id="prezzo">
</div>
<input type="submit" value="invia dati" class="btn btn-primary" id="button" />
</div>
【问题讨论】:
-
你为发送 ajax 请求做了什么?
-
我只能用 javascript 来做
标签: javascript node.js forms server client