《Slides Dev Web》 07. jQuery
07.jQuery 19 décembre 2023 Développement web il3 jQuery HE-Arc (DGR) 2022 jQuery • John Resig, 2006 • Bibliothèque JS, gratuit, OS (licence MIT) • Facilite le développement JS pour les tâches fréquentes des callbacks Utilisation • Inclusion CDN1 1https://jquery.com/download/#other-cdns 1 • Nos scripts js"> • Syntaxe basique $(selecteur).action(); // $() est un raccourci pour jQuery() • Utilisation de sélecteurs CSS, id ou classes $(document); // retourne le DOM $("h3").hide(); // cache0 码力 | 5 页 | 49.45 KB | 1 年前3廖雪峰JavaScript教程
本文档使用 书栈(BookStack.CN) 构建 6.2.3 删除DOM 6.3 操作表单 6.4 操作文件 6.5 AJAX 6.6 Promise 6.7 Canvas 7 jQuery 7.1 选择器 7.1.1 层级选择器 7.1.2 查找和过滤 7.2 操作DOM 7.2.1 修改DOM结构 7.3 事件 7.4 动画 7.5 扩展 8 underscore 10. return 'foo'; 11. }; 把自己的代码全部放入唯一的名字空间 MYAPP 中,会大大减少全局变量冲突的可能。 许多著名的JavaScript库都是这么干的:jQuery,YUI,underscore等等。 由于JavaScript的变量作用域实际上是函数内部,我们在 for 循环等语句块中是无法定义具有局部 作用域的变量的: 1. 'use strict'; -- 当前页面在wwwexample.com --> 2. 3. 4. 5. 6.1 浏览器对象 - 129 - 本文档使用 书栈(BookStack.CN) 构建 6. ... 7.0 码力 | 264 页 | 2.81 MB | 10 月前3Apache OFBiz Themes 17.12
screen engine through an embedded technology. Currently themes presents in Apache OFBiz use html5/jquery/css to do that. To realize that, a theme can define some properties, among them some can be necessary visualThemeId="BLUELIGHT" resourceTypeEnumId="VT_STYLESHEET" resourceValue="/common/js/jquery/plugins/asmselect/jquery.asmselect-1.0.4a-beta.css" sequenceId="02"/> 11 resourceValue="/common/js/jquery/jquery- 1.11.0.min.js" sequenceId="01"/>0 码力 | 16 页 | 164.72 KB | 1 年前 3前端开发者指南(2017)
学习网页寄存(通称虚拟主机) 学习前端开发 学习用户界面/交互设计 学习 HTML 和 CSS 学习搜索引擎优化 学习 JavaScript 学习 Web 动画 学习 DOM、BOM 和 jQuery 学习网页字体 & 图标 2 1.6.1.14 1.6.1.15 1.6.1.16 1.6.1.17 1.6.1.18 1.6.1.19 1.6.1.20 1.6.1.21 学习网页寄存(通称虚拟主机) 学习前端开发 学习用户界面/交互设计 学习 HTML 和 CSS 学习搜索引擎优化 学习 JavaScript 学习 Web 动画 学习 DOM、BOM 和 jQuery 学习网页字体 & 图标 学习可访问性相关知识 学习 web/浏览器 API 学习 JSON (JavaScript 对象表示法) 学习 JS 模板 学习静态网页生成器 通过JS学习计算机科学 JShint,JSCS 也被 整合进 ESLint)进行语法检查。 开发者弃 Sublime 和 Atom 转投 Visual Studio Code 编辑器,这成为一种趋势。 jQuery 仍有热度,但使用率和关注度都在下滑。jQuery 3 已然发布 ,却无人问津。 Vue.js 理所应当地吸收更多追随者。 JavaScript 函数式编程和模式备受关注。 离线开发和渐进式 WEB 应用(PWA)步入主流。0 码力 | 164 页 | 6.43 MB | 1 年前3JavaScript Promiseの本 v1
then を上手く利用できるようにし promiseオブジェクトに変換するという仕組みです。 どのようなものがthenableなのかというと、分かりやすい例では jQuery.ajax()16の返り値 もthenableです。 jQuery.ajax() の返り値は jqXHR Object17 というもので、 このオブジェクトは .then と いうメソッドを持っているためです。 $.ajax('http://httpbin このサンプルコードはjQueryをロードしている場所でないと動きません var promise = Promise.resolve($.ajax('http://httpbin.org/get'));// => promiseオブジェクト promise.then(function(value){ console.log(value); }); jQueryとthenable jQuery.ajax()18の返り値も パティ等を継承しています。 しかし、jQuery 2.x以下では、このDeferred ObjectはPromises/A +やES6 Promisesに準拠したものではありません。 そのため、Deferred Objectをpromiseオブジェクトへ変換できたように見えて、一部欠損す る情報がでてしまうという問題があります。 16 https://api.jquery.com/jQuery.ajax/ 17 http://api0 码力 | 115 页 | 1.06 MB | 1 年前3Apache Wicket 8.x Reference Guide
find JQuery already loaded in the page: Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/jqueryui/" + "1.10.2/jquery- ui resource.JQueryPluginResourceReference for those JavaScript resources that depend on JQuery. This class uses the JQuery version bundled with Wicket. The same method getDependencies() is defined also also illustrate an example of integration of Wicket with a JavaScript library like JQuery and its child project JQuery UI . 17.1. What we want to do… For end-users a datepicker is one of the most appreciated0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 7.x Reference Guide
find JQuery already loaded in the page: Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/jqueryui/" + "1.10.2/jquery- ui resource.JQueryPluginResourceReference for those JavaScript resources that depend on JQuery. This class uses the JQuery version bundled with Wicket. The same method getDependencies() is defined also also illustrate an example of integration of Wicket with a JavaScript library like JQuery and its child project JQuery UI . 17.1. What we want to do… For end-users a datepicker is one of the most appreciated0 码力 | 346 页 | 10.00 MB | 1 年前3Apache Wicket 10.x Reference Guide
find JQuery already loaded in the page: Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/jqueryui/" + "1.10.2/jquery- ui resource.JQueryPluginResourceReference for those JavaScript resources that depend on JQuery. This class uses the JQuery version bundled with Wicket. The same method getDependencies() is defined also also illustrate an example of integration of Wicket with a JavaScript library like JQuery and its child project JQuery UI . 17.1. What we want to do… For end-users a datepicker is one of the most appreciated0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
find JQuery already loaded in the page: Url jqueyuiUrl = Url.parse("https://ajax.googleapis.com/ajax/libs/jqueryui/" + "1.10.2/jquery- ui resource.JQueryPluginResourceReference for those JavaScript resources that depend on JQuery. This class uses the JQuery version bundled with Wicket. The same method getDependencies() is defined also also illustrate an example of integration of Wicket with a JavaScript library like JQuery and its child project JQuery UI . 17.1. What we want to do… For end-users a datepicker is one of the most appreciated0 码力 | 335 页 | 7.15 MB | 1 年前3JavaScript Promiseの本 v2
then を上手く利用できるようにし promiseオブジェクトに変換するという仕組みです。 どのようなものがthenableなのかというと、分かりやすい例では jQuery.ajax()21の返り値 もthenableです。 jQuery.ajax() の返り値は jqXHR Object22 というもので、 このオブジェクトは .then と いうメソッドを持っているためです。 $.ajax("https://httpbin このサンプルコードはjQueryをロードしている場所でないと動きません const promise = Promise.resolve($.ajax("https://httpbin.org/get"));// => promiseオブジェ クト promise.then((value) => { console.log(value); }); jQueryとthenable jQuery.ajax()23の返り値も しかし、jQuery 2.x以下では、このDeferred ObjectはPromises/A +やES Promisesに準拠したものではありません。 そのため、Deferred 21 https://api.jquery.com/jQuery.ajax/ 22 http://api.jquery.com/jQuery.ajax/#jqXHR 23 https://api.jquery.com/jQuery0 码力 | 137 页 | 1.17 MB | 1 年前3
共 616 条
- 1
- 2
- 3
- 4
- 5
- 6
- 62