如题,需要在input标签中加入name属性才能序列化
<form id="loginForm" name="login" method="post" action="">
<input type="hidden" name="action" value="login"/>
<table>
<tr>
<td>
<input id="tel" type="tel" autocomplete="off" autofocus="autofocus" required="required" name="utel" placeholder="手机号">
</td>
</tr>
<tr>
<td>
<input id="password" type="password" required="required" name="upassward" placeholder="密码">
</td>
</tr>
<tr>
<td>
<input id="btn-sub" class="submit-btn" type="button" value="登录">
</td>
</tr>
</table>
</form>
$.post("admin/login.do", $("#loginForm").serialize(), function (result) {}