WebEnh

.net7 mvc jquery bootstrap json 学习中 第一次学PHP,正在研究中。自学进行时... ... 我的博客 https://enhweb.github.io/ 不错的皮肤:darkgreentrip,iMetro_HD
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年7月29日

摘要: 一、jQuery加载一个html页面到指定的div里 把a.html里面的某一部份的内容加载到b.html的一个div里。比如:加载a.html里面的<div id=“row"></div>这个div里面的所有内容加载到b.html的这个div里<div id="content"></div>用jq 阅读全文

posted @ 2016-07-29 15:10 WebEnh 阅读(4429) 评论(0) 推荐(0)

摘要: 下面两个都是youtube视频的加载进度条效果的ajax插件 一、官网:http://ricostacruz.com/nprogress/官网 github:https://github.com/rstacruz/nprogress/ 二、http://www.onextrapixel.com/20 阅读全文

posted @ 2016-07-29 15:06 WebEnh 阅读(807) 评论(0) 推荐(0)

摘要: Jquery在异步提交方面封装的很好,直接用AJAX非常麻烦,Jquery大大简化了我们的操作,不用考虑浏览器的诧异了。 推荐一篇不错的jQuery Ajax 实例文章,忘记了可以去看看, 地址为:http://www.cnblogs.com/yeer/archive/2009/07/23/1529 阅读全文

posted @ 2016-07-29 15:01 WebEnh 阅读(166) 评论(0) 推荐(0)

摘要: jquery中的ajax方法参数总是记不住,这里记录一下。 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分 阅读全文

posted @ 2016-07-29 14:59 WebEnh 阅读(152) 评论(0) 推荐(0)