不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
Don’t Use jquery-latest.js[转]
编辑:dnawo 日期:2019-11-25
Earlier this week the jQuery CDN had an issue that made the jquery-latest.js and jquery-latest.min.js files unavailable for a few hours in some geographical areas. (This wasn’t a problem with the CDN itself, but with the repository that provides files for the CDN.) While we always hope to have 100% uptime, this particular outage emphasized the number of production sites following the antipattern of using this file. So let’s be clear: Don’t use jquery-latest.js on a production site.
We know that jquery-latest.js is abused because of the CDN statistics showing it’s the most popular file. That wouldn’t be the case if it was only being used by developers to make a local copy. The jquery-latest.js and jquery-latest.min.js files were meant to provide a simple way to download the latest released version of jQuery core. Instead, some developers include this version directly in their production sites, exposing users to the risk of a broken site each time a new version of jQuery is released. The team tries to minimize those risks, of course, but the jQuery ecosystem is so large that we can’t possibly check it all before making a new release.
To mitigate the risk of “breaking the web”, the jQuery team decided back in 2013 that jquery-latest.js could not be upgraded to the 2.0 branch even though that is technically the latest version. There would just be too many sites that would mysteriously stop working with older versions of Internet Explorer, and many of those sites may not be maintained today.
We know that jquery-latest.js is abused because of the CDN statistics showing it’s the most popular file. That wouldn’t be the case if it was only being used by developers to make a local copy. The jquery-latest.js and jquery-latest.min.js files were meant to provide a simple way to download the latest released version of jQuery core. Instead, some developers include this version directly in their production sites, exposing users to the risk of a broken site each time a new version of jQuery is released. The team tries to minimize those risks, of course, but the jQuery ecosystem is so large that we can’t possibly check it all before making a new release.
To mitigate the risk of “breaking the web”, the jQuery team decided back in 2013 that jquery-latest.js could not be upgraded to the 2.0 branch even though that is technically the latest version. There would just be too many sites that would mysteriously stop working with older versions of Internet Explorer, and many of those sites may not be maintained today.
jQuery自定义事件添加和触发示例
编辑:dnawo 日期:2019-11-23
jQuery所有版本及其CDN引用地址[实时更新]
编辑:dnawo 日期:2019-10-18
jQuery对象和DOM对象相互转换示例[转]
编辑:dnawo 日期:2016-10-13
jQuery对象是通过jQuery包装DOM对象后产生的对象。jQuery对象是jQuery独有的,其可以使用jQuery里的方法,但是不能使用DOM的方法,例如: $("#img").attr("src","test.jpg"); 这里的 $("#img")就是jQuery对象。
DOM对象是Javascript固有的一些对象。DOM对象能使用Javascript固有的方法,但是不能使用jQuery的方法。例如:document.getElementById("img").src = “test.jpg";这里的document.getElementById("img") 就是DOM对象。
$("#img").attr("src","test.jpg") 和 document.getElementById("img").src = "test.jpg" 是等价的,是正确的,但是 $("#img").src = "test.jpg" 或者 document.getElementById("img").attr("src","test.jpg") 都是错误的。
DOM对象是Javascript固有的一些对象。DOM对象能使用Javascript固有的方法,但是不能使用jQuery的方法。例如:document.getElementById("img").src = “test.jpg";这里的document.getElementById("img") 就是DOM对象。
$("#img").attr("src","test.jpg") 和 document.getElementById("img").src = "test.jpg" 是等价的,是正确的,但是 $("#img").src = "test.jpg" 或者 document.getElementById("img").attr("src","test.jpg") 都是错误的。