Jquery
qq_39010381
这个作者很懒,什么都没留下…
展开
-
为什么要使用jQuery?
jquery的强大转载 2017-07-03 10:12:45 · 176 阅读 · 0 评论 -
实现图片上传前本地预览功能之二
我这个试用起来比之前那个加载要快 [html] view plain copy %@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> % String path = request.getContextPath(); String basePath转载 2017-08-09 08:50:44 · 195 阅读 · 0 评论 -
jquery实现图片上传前本地预览功能
%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> % String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.g转载 2017-08-09 08:49:51 · 240 阅读 · 0 评论 -
通过jQuery Ajax使用FormData对象上传文件
FormData对象,是可以使用一系列的键值对来模拟一个完整的表单,然后使用XMLHttpRequest发送这个"表单"。 在 Mozilla Developer 网站 使用FormData对象 有详尽的FormData对象使用说明。 但上传文件部分只有底层的XMLHttpRequest对象发送上传请求,那么怎么通过jQuery的Ajax上传呢? 本文将介绍通过jQuer转载 2017-07-24 10:48:02 · 190 阅读 · 0 评论 -
jQuery加载html文档的几种方法
> html> head> title>init.htmltitle> meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> meta http-equiv="description" content="this is my page">转载 2017-07-03 10:26:42 · 1716 阅读 · 0 评论 -
html和jQuery常用的选择器
> html> head> title>css.htmltitle> meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> meta http-equiv="description" content="this is my page">转载 2017-07-03 10:23:56 · 192 阅读 · 0 评论 -
jQuery对象和dom对象的区别和相互转换
> html> head> title>obj.htmltitle> meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> meta http-equiv="description" content="this is my page">转载 2017-07-03 10:21:23 · 182 阅读 · 0 评论 -
jQuery常用的一些方法
[html] view plain copy > html> head> title>domevent.htmltitle> meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> meta http-equiv="des转载 2017-07-03 10:18:08 · 144 阅读 · 0 评论 -
jQuery之ajax函数的一个小例子
创建一个web项目,要有maven支持 这里我们就最简单化,没有service和dao层,只有一个controller层 pom.mxl 架包支持分别是 springmvc和json-lib [html] view plain copy dependency> grou转载 2017-07-03 10:16:08 · 154 阅读 · 0 评论 -
jQuery的each和jQuery数组的each
[html] view plain copy > html> head> title>domevent.htmltitle> meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> meta http-equiv="des转载 2017-07-03 10:14:17 · 2291 阅读 · 0 评论 -
jquery的复选框操作
为什么不用attr设置要用prop设置 因为用attr设置点击一次就没效果了 用下面这种不会出现没效果的情况 $("#but").click(function(){ var val=this.checked; $(":checkbox").each(function(){ this.checked=val; }); }); $(function () { // 全选转载 2017-08-09 08:54:43 · 181 阅读 · 0 评论