表单使用POST不能提交
mtaiyi opened this issue · comments
mtaiyi commented
<form class="am-form" method="POST" action="/search/">
<span>开始时间</span>
<input type="text" value="2015-02-14 14:45" class="form-datetime am-form-field">
<button type="submit" name="search">查询</button>
</form>
发现表单POST之后拿不到任何的数据。请问datetimepicker只能使用get方法?
Minwe LUO commented
<input>
上缺少 name
属性,你确信你会用表单?