1. http://www.w3schools.com/js/js_obj_regexp.asp  正则表达式是一种文本模式,包括普通字符(例如,a 到 z 之间的字母)和特殊字符(称为“元字符”)。模式描述在搜索文本时要匹配的一个或多个字符串。 正则表达式示例 /^\s*$/ 匹配空行。 /\d{2}-\d{5}/ 验证由两位数字、一个连字符再加 5 位数字组成的 ID 号。 /<\s*(\S+)(\s[^&g ...

    阅读全文
  2. DOM Ready Jquery $(document).ready(function(){ // Code }); YUI Y.on("domready", function(e){ // Code }); 选择器支持 <div class=&qu ...

    阅读全文
  3. YUI Drag & Drop2013-11-20

    http://developer.yahoo.com/yui/dragdrop/  Drag and Drop API Document: http://yui.github.io/yui2/docs/yui_2.9.0_full/docs/module_dragdrop.html  The following configuration properties are currently supported via the contructor ...

    阅读全文
  4. YAHOO.example.Data = { menu: { breakfasts: [ "donuts", "omelette", "pancakes", "yogurt" ], lunches: [ "burrito", "hamburg ...

    阅读全文
  5. YUI 2.9 Samples2013-11-28

    Widget ImageCropper Control Examples: Simple Crop Interface Advanced Crop Interface Real Time Crop Feedback Connection Manager assisted image crop Skinning the ImageCropper     Layout Manager Exampl ...

    阅读全文
  6. YUI2013-11-28

    Using YUI 2: FAQ Getting Started Licensing Support & Community Filing Bugs & Feature Requests Searchable API Documentation: Browse and search the complete YUI API. YUI 2 Developer Tools: Logger Control Pr ...

    阅读全文
  7. ( function(){ ...... } )( window ); 初次接触jQuery源代码时,它的结构就是如上。这是一个匿名函数被括起来,然后再在后面加一个括号,这个匿名函数就能立即运行起来!这样做有什么好处呢?为什么要这样写?这段代码究竟属不属于闭包呢? 函数声明(function 语句) 正常一个函数的声明和定义如下: function foo(){ ........ } ...

    阅读全文
  8. var // The deferred used on DOM ready readyList, // A central reference to the root jQuery(document) rootjQuery, // Support: IE<10 // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` core_strundefined = ty ...

    阅读全文
  9. http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors   ...

    阅读全文
  10. jQuery.fn = jQuery.prototype = {..........}; // Give the init function the jQuery prototype for later instantiation jQuery.fn.init.prototype = jQuery.fn; jQuery.extend = jQuery.fn.extend = function() {........}; jQuery.extend(.... ...

    阅读全文