首页 >后端开发 >php教程 >angularjs post 提交中文乱码?

angularjs post 提交中文乱码?

WBOY
WBOY原创
2016-09-15 11:30:541256浏览

html:

<code><div ng-controller="login_input">
    <form ng-submit="check_login()">
        <div><a>用户名:</a></div>
<div><input type="text" required ng-model="login.uname"></div>
        <div><a>密码:</a></div>
<div><input type="password" required ng-model="login.upassword"></div>
        <div><a>验证码:</a></div>
<div>
<input type="number" min="0" required ng-model="login.chkcode"><img  src="img.php" alt="angularjs post 提交中文乱码?" >
</div>
{{login}}
        <button class="a_button" type="submit">登录</button>
    </form>
</div>
</code>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn