标签<a>如何做到与<input type="submit"/>一样有提交页面信息的效果?
@using (Html.BeginForm("Login", "User", FormMethod.Post, new { @id = "formId" })){}
<a href="javascript:login()">登录</a>
<script type="text/javascript"> function login() { $("#formId").submit(); }
</script>