上一页 1 ··· 218 219 220 221 222 223 224 225 226 ··· 399 下一页
摘要: 如何将图片显示为canvas https://github.com/blueimp/JavaScript-Load-Image/blob/master/js/load-image-scale.js https://github.com/blueimp/JavaScript-Load-Image/bl 阅读全文
posted @ 2019-07-04 17:45 ChuckLu 阅读(996) 评论(0) 推荐(0)
摘要: .each() .each() .each( function )Returns: jQuery Description: Iterate over a jQuery object, executing a function for each matched element. version add 阅读全文
posted @ 2019-07-04 16:18 ChuckLu 阅读(158) 评论(0) 推荐(0)
摘要: Iterating through/Parsing JSON Object via JavaScript 解答1 Your JSON object is incorrect because it has multiple properties with the same name. You shou 阅读全文
posted @ 2019-07-04 16:13 ChuckLu 阅读(387) 评论(0) 推荐(0)
摘要: Make jQuery throw error when it doesn't match an element 解答1 You could make a plugin to use to ensure that the jQuery object is not empty: $.fn.ensure 阅读全文
posted @ 2019-07-04 10:48 ChuckLu 阅读(207) 评论(0) 推荐(0)
摘要: uncaught syntaxerror unexpected token U JSON The parameter for the JSON.parse may be returning nothing (i.e. the value given for the JSON.parse is und 阅读全文
posted @ 2019-07-04 10:44 ChuckLu 阅读(411) 评论(0) 推荐(0)
摘要: https://api.jquery.com/jQuery.parseJSON/ https://api.jquery.com/category/deprecated/deprecated-3.0/ As of jQuery 3.0, $.parseJSON is deprecated. To pa 阅读全文
posted @ 2019-07-04 10:11 ChuckLu 阅读(332) 评论(0) 推荐(0)
摘要: http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_inheritance.html 这个系列的第一部分,主要介绍了如何"封装"数据和方法,以及如何从原型对象生成实例。 今天要介绍的是,对象之间的"继承"的五种方法。 比 阅读全文
posted @ 2019-07-04 00:08 ChuckLu 阅读(168) 评论(0) 推荐(0)
摘要: http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_encapsulation.html 学习Javascript,最难的地方是什么? 我觉得,Object(对象)最难。因为Javascript的Object模型很独特, 阅读全文
posted @ 2019-07-03 23:55 ChuckLu 阅读(584) 评论(0) 推荐(0)
摘要: http://www.ruanyifeng.com/blog/2011/06/designing_ideas_of_inheritance_mechanism_in_javascript.html http://blog.vjeux.com/2011/javascript/how-prototypa 阅读全文
posted @ 2019-07-03 23:44 ChuckLu 阅读(133) 评论(0) 推荐(0)
摘要: __proto__ VS. prototype in JavaScript http://dmitrysoshnikov.com/ecmascript/javascript-the-core/#a-prototype-chain __proto__ is the actual object that 阅读全文
posted @ 2019-07-03 23:33 ChuckLu 阅读(188) 评论(0) 推荐(0)
上一页 1 ··· 218 219 220 221 222 223 224 225 226 ··· 399 下一页