smelikecat

导航

随笔分类 -  jQuery&jQuery plugins

jquery's function & jquery plugins
[jquery]如何实现页面单块DIV区域滚动展示
摘要:// 未实现功能的代码 1(自己写的代码) var _cur_top = $(window).scrollTop(); var num = $(".class_section").length; var wH = $(window).height... 阅读全文

posted @ 2016-01-19 09:14 smelikecat 阅读(574) 评论(0) 推荐(0)

[jquery-delegate] iphone_4s _iphone _5c_中不兼容jQuery delegate 事件(does not wok)
摘要:1. jQuery .on() and .delegate() doesn't work on iPadhttp://stackoverflow.com/questions/10165141/jquery-on-and-delegate-doesnt-work-on-ipad2. Click eve... 阅读全文

posted @ 2015-10-27 17:57 smelikecat 阅读(206) 评论(0) 推荐(0)

jquery使用ajax报错[Uncaught SyntaxError: Unexpected token :]
摘要:1 $.post('/ajax/validate.do',{"id": id},function(ret){2 //ret3 }); 返回值明明是json,格式也是正确的,却解析不成功,在Google Chrome下报错——Uncaught SyntaxError: Unexpecte... 阅读全文

posted @ 2014-03-20 00:40 smelikecat 阅读(2072) 评论(0) 推荐(0)