
HTML
失忆意
努力学习前端知识中
展开
-
form提交后仍然是当前页面的简单实现
要实现这么一个功能,在购物车中,用户点击结算时先判断是否登录,如果没有登录,则显示一个登录界面! 用户在输入用户名和密码后会将表单提交到指定页面,而这时候链接也是直接跳转到了登陆后的界面,怎么才能在点击“登录”后仍是当前页面,并且可以接受登陆信息呢。 在form表单中加入这么一句 <input原创 2015-03-17 15:11:26 · 1867 阅读 · 0 评论 -
Why Domain Sharding is Bad News for Mobile Performance and Users
地址In this post we’ll review the results of a real-world test with over three million samples showing that domain sharding is at best neutral and at worst harmful for mobile websites.在本帖里,我们将通过超过三百万个样品实翻译 2016-12-14 22:39:07 · 960 阅读 · 0 评论