2013年7月24日

前端开发 错误使用return false

摘要: Probably one of the first topics covered when you get started learning about jQuery events is the concept of canceling the browser’s default behavior. For instance, a beginner click tutorial may include this:$("a.toggle").click(function () { $("#mydiv").toggle(); return false; // 阅读全文

posted @ 2013-07-24 15:43 翻身农奴爱唱歌 阅读(374) 评论(0) 推荐(0) 编辑

导航