
jQuery
文章平均质量分 77
jQuery
学无止境慢慢来
每天进步一点点,活成自己羡慕的模样。
keep coding!!!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HTML js jquery 事件.txt
1.onfocus触发条件:input标签 获取焦点时。2.onblur触发条件:input标签 已经获取了焦点,再失去焦点时。3.onchange触发条件:input标签的value值发生变化且失去焦点时。4.onkeydown触发条件:按下按键时。5.onkeyup触发条件:抬起按键时触发。6.onclick触发条件:鼠标点击事件。7.onselect触发条件:当i...转载 2018-11-18 15:47:38 · 1076 阅读 · 0 评论 -
jQuery $(selector).mousemove() 事件.html
<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title>jQuery $(selector).mousemove() 事件</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script> .转载 2020-08-08 12:40:11 · 236 阅读 · 0 评论 -
jQuery input[type=“radio“] 表单提交.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jQuery input[type="radio"] 表单提交</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script></h.转载 2020-08-07 15:32:19 · 656 阅读 · 0 评论 -
js 文本逐个输出.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>js 文本逐个输出</title> <script src="lib/jquery/jquery-3.2.1.js"></script></head><body onload="displayTxt()"><div.原创 2020-05-31 20:46:14 · 479 阅读 · 0 评论 -
jquery selectors.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery selectors</title> <script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script></head><body.转载 2020-05-21 11:01:35 · 165 阅读 · 0 评论 -
jquery 事件 $ele.mousedown().mouseup().html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jquery $ele.mousedown().mouseup()</title> <style> * { margin: 0;...转载 2020-03-18 21:32:35 · 180 阅读 · 0 评论 -
jquery ajax 添加自定义请求头 - Authorization 字段.txt
jquery ajax 添加自定义请求头 - Authorization 字段.txt参考:https://www.cnblogs.com/yanggb/p/12039665.htmlhttps://www.w3school.com.cn/jquery/ajax_ajax.aspbeforeSend: function(XHR){ /*功能:添加自定义 HTTP 头 Auth...转载 2020-03-18 12:00:52 · 4540 阅读 · 0 评论 -
jQuery_ajax提交表单form.html
jquery ajax 提交表单.txt参考:https://blog.csdn.net/weixin_43895377/article/details/93198410知识点:1.$('#form1').serialize()序列化表单的值成字符串: a=aaa&b=bbb 的形式,可以直接用于 ajax 提交数据。经测试, onsubmit="return false" 是...转载 2020-02-21 17:58:33 · 255 阅读 · 0 评论 -
jQuery $(“selector“).serialize().serializeArray() 序列化表单.html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jQuery $("form").serialize()</title> <script src="https://cdn.staticfile.org/jquery/1.10...转载 2020-02-20 18:29:39 · 332 阅读 · 0 评论 -
登录 跨域 带cookie解决方案 ajax done fail方法.txt
登录 跨域 带cookie解决方案 ajax done fail方法.txt参考:https://www.cnblogs.com/eret9616/p/9661314.html摘自此文的末尾。4.2 解决请求带上Cookie信息完整代码如下:$.ajax({ url: "http://localhost:8020/api/login.php", type: "POST"...转载 2020-02-19 17:15:35 · 238 阅读 · 0 评论 -
jquery ajax jsonp 解决跨域的使用相关.txt
jquery ajax jsonp 解决跨域的使用相关.txt参考:https://www.cnblogs.com/boboooo/p/9779355.html文章的中间部分 4.1 JSONP解决跨域服务端:@RequestMapping("setCookie")public String setCookie(HttpServletResponse response,String ...转载 2020-02-19 15:36:02 · 237 阅读 · 0 评论 -
jquery $.each().html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery $.each()</title> <script src="lib/jquery/jquery-3.2.1.js"></scrip...原创 2019-12-20 10:00:38 · 369 阅读 · 0 评论 -
jquery 遍历next().txt
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jquery 遍历next()</title> <style> .siblings * { display: block; ...转载 2019-12-12 10:52:07 · 155 阅读 · 0 评论 -
jquery 遍历parentsUntil().html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery parentsUntil()</title> <style> .ancestors * { di...转载 2019-12-06 14:28:07 · 126 阅读 · 0 评论 -
jquery 遍历 $(selector).parent().html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery parent()</title> <style> .ancestors * { display:...转载 2019-12-06 14:02:40 · 453 阅读 · 0 评论 -
jquery 获取 id 含有 中文、其他特殊字符的元素.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery 获取 id 含有 中文、其他特殊字符的元素</title> <script src="lib/jquery/jquery-3.2.1.js"&...原创 2019-12-05 15:39:21 · 1473 阅读 · 1 评论 -
jquery event.screenX-Y_clientX-Y_offsetX-Y.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery event.screenX-Y_clientX-Y_offsetX-Y</title> <style> * { ...原创 2019-11-28 11:17:59 · 191 阅读 · 0 评论 -
jQuery_$ele.on().off()_input.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery on_off事件</title> <script src="lib/jquery/jquery-3.2.1.js"></scrip...转载 2019-11-28 09:56:40 · 286 阅读 · 0 评论 -
jQuery_遍历子代$obj.children().html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>children</title> <style> /*给.descendants 的所有后代(包括子代,孙代,曾孙代)元素设置样式。...转载 2019-09-29 10:57:44 · 884 阅读 · 0 评论 -
jQuery_遍历后代$obj.find().html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>find</title> <style> .descendants * { display: block;...转载 2019-09-29 11:19:15 · 1362 阅读 · 0 评论 -
jquery css()_返回属性.html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jquery css()_返回css属性</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquer...转载 2019-10-09 10:47:45 · 152 阅读 · 0 评论 -
jquery css()_设置属性.html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>jquery css()_设置 CSS 属性</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jqu...转载 2019-10-09 10:54:59 · 125 阅读 · 0 评论 -
jquery fadeOut().html
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>fadeOut()</title> <script src="http://www.w3school.com.cn/jquery/jquery-1.11.1.min.js"&...转载 2019-07-01 17:20:24 · 286 阅读 · 0 评论 -
jquery html().html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>html()</title> <script src="https://www.w3school.com.cn/jquery/jquery.js">...转载 2019-09-27 15:48:00 · 192 阅读 · 0 评论 -
jQuery $(selector).trigger() 触发事件.html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>trigger</title> <script src="https://www.w3school.com.cn/jquery/jquery.js">...转载 2019-09-27 15:28:56 · 631 阅读 · 0 评论 -
jQuery $obj.range() 事件.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery.range</title> <script src="js/jquery-2.1.4.min.js"></script>...原创 2019-07-28 18:35:46 · 606 阅读 · 0 评论 -
jquery 事件 dblclick_change_blur_focus_one_hover_focusin_focusout_resize_select_submit.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery事件</title> <style> span { display: none; ...转载 2019-07-26 17:54:45 · 280 阅读 · 0 评论 -
jQuery_判断元素是否存在.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery获取的元素不存在</title> <script src="js/jquery-3.2.1.js"></script>&l...原创 2019-07-22 17:53:40 · 632 阅读 · 0 评论 -
js Jquery对象与DOM对象之间的转换.html
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <script src="./js/jquery-3.2.1.js"></script> <title>jquery_dom</title></...转载 2019-07-22 14:39:35 · 1227 阅读 · 0 评论 -
js jquery.ready_dom.onload事件.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>jquery.ready_dom.onload事件</title> <script src="js/jquery-3.2.1.js"></sc...转载 2019-07-25 09:43:58 · 92 阅读 · 0 评论 -
jquery ajax url中有中文,后端乱码的解决方法.txt
参考:https://zhidao.baidu.com/question/2057437468670456147.htmlurl类似: http://localhost:8080/floorsNodes/风管.json方法:在jquery ajax中可以对url进行2次编码,encodeURI(encodeURI(url)),后端,对该url,解码一次,搞定!关键代码:1.前端$...原创 2019-07-07 19:38:33 · 344 阅读 · 0 评论 -
jquery hide explanations.html
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>hide explanations</title> <script src="http://www.w3school.com.cn/jquery/jquery-1.11.1....转载 2019-07-01 17:45:44 · 105 阅读 · 0 评论 -
jquery $(selector).hide().show().html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>jquery hide()_show()</title> <script src="http://www.w3school.com.cn/jquery/jq...转载 2019-07-01 16:22:21 · 461 阅读 · 0 评论 -
jQuery_input[type=“checkbox“].html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>input type="checkbox"</title> <script src="https://cdn.staticfile.org/jquery/1...转载 2019-06-20 16:46:54 · 1313 阅读 · 0 评论 -
jquery ajax上传本地dwg文件到服务器.txt
<!--只接受.dwg文件--><input type="file" id="CADFile" accept=".dwg"><button onclick="upload()">上传</button>function upload() { /*此函数用于,CAD文件的上传。*/ // 获取文件对象。 let file...原创 2019-06-20 09:49:35 · 858 阅读 · 0 评论 -
jquery ajax post 周边交通.json to server.html
<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>发送数据</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"> ...原创 2019-05-26 16:09:33 · 233 阅读 · 0 评论 -
jquery 向html body 元素内添加子元素并设置样式知识点.txt
// 向网页body中添加元素。let innerHTML = '<div id="BIMFloors">BIM分层</div>';$("body").append(innerHTML);// 移除元素。$("#BIMFloors").remove();$("p").css("background-color","yellow");$("p").css({"...转载 2019-03-30 19:52:04 · 15497 阅读 · 0 评论 -
jQuery_input[type=checkbox]2.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>checkbox</title> <script src="js/jquery-2.1.4.min.js"></script><...原创 2019-07-28 18:50:05 · 242 阅读 · 0 评论 -
jQuery_select.html
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>select</title> <script src="lib/jquery/jquery-3.2.1.js"></script>&l...转载 2019-08-22 10:55:40 · 236 阅读 · 0 评论 -
jQuery_trim().html
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>trim</title> <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min...转载 2019-09-26 17:04:04 · 145 阅读 · 0 评论