jQuery
文章平均质量分 97
睡在我下铺的上铺的胖子
能放前端的就放前端啊
展开
-
jQuery中的高度与定位
jQuery中的高度与定位(offset(),position()) 我们知道,高度或者宽度是由外边距(margin)、边框(border)、元素样式定义的高度或宽度(height/width)、内边距(padding)组成的。height()与outerHeight()的不同 height():Get the current computed height for the first elem原创 2016-08-29 20:57:58 · 1794 阅读 · 0 评论 -
jQuery中的Ajax(全)
小结 1,基础:从load讲起,依次有get、post、getJSON、getScript、ajax 2,增强:jsonp、全局函数、jqXHR 3,高级:缓存相应,截流、数据类型转换、预过滤器、替代传输机制。 4,工具函数:serialize、serializeArray、$.param原创 2016-10-07 11:19:23 · 6749 阅读 · 0 评论