jq
文章平均质量分 64
wujingj
好好学习 天天向上
展开
-
jquery的$.extend()、$.fn和$.fn.extend()区别
jQuery为开发插件提拱了两个方法,分别是:jQuery.fn.extend();jQuery.extend();jQuery.fnjQuery.fn = jQuery.prototype = { init: function( selector, context ) {//…. //…… };原来 jQuery.fn = jQuery.prototype.对prototype肯定不会陌生...原创 2018-05-29 09:44:25 · 446 阅读 · 0 评论 -
jq实现小米官网的图片轮播功能(无缝轮播,点击左右箭头,点击圆点切换图片)
一、首先是html部分 <section class="scroll_sec"> <div class="banner_container"> <ul class="banner"> <li>&原创 2018-05-29 16:50:45 · 4357 阅读 · 1 评论 -
checkbox选中复选框,添加文本框可编辑,不选中,则不可编辑
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="JS/jquery-3.1.0.min.js"></script>原创 2018-11-15 16:09:33 · 4505 阅读 · 0 评论