06 2019 档案
摘要:先触发_onChange【jquery.fileupload.js】 _onChange: function (e) { var that = this, data = { fileInput: (e.target.form) }; this._getFile
阅读全文
摘要:设置断点之后,查看的时候,注意右侧栏。 在调试按钮下方,有一个watch和call stack,
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply The apply() method calls a function with a given this
阅读全文
摘要:https://developers.google.com/web/tools/chrome-devtools/javascript/step-code step over next function call Executes whatever happens on the next line a
阅读全文
摘要:以https://github.com/blueimp/jQuery-File-Upload/blob/master/basic-plus.html为例 注释掉load-image.all.min.js jquery.fileupload-image.js:279 Uncaught TypeErro
阅读全文
摘要:jQuery插件开发精品教程,让你的jQuery提升一个台阶 https://learn.jquery.com/plugins/basic-plugin-creation/ 根据《jQuery高级编程》的描述,jQuery插件开发方式主要有三种: 通过.
阅读全文
摘要:https://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG
阅读全文
摘要:https://yarnpkg.com/lang/en/docs/install/#windows-stable Introduction Yarn is a package manager for your code. It allows you to use and share code wit
阅读全文
摘要:What is 'typeof define 'function' && define['amd']' used for? What purpose does the following code serve? What does factory function do here? Here roo
阅读全文
摘要:.closest() .closest( selector )Returns: jQuery Description: For each element in the set, get the first element that matches the selector by testing th
阅读全文
摘要:jquery.fileupload-image-editor.js中 jquery.ui.widget.js 遇到错误 是因为找不到 Uncaught TypeError: Cannot read property 'innerHTML' of null at Function.tmpl.load
阅读全文
摘要:https://api.jquery.com/event.currentTarget/ event.currentTargetReturns: Element Description: The current DOM element within the event bubbling phase.
阅读全文
摘要:https://api.jquery.com/on/ .on( events [, selector ] [, data ], handler )Returns: jQuery Description: Attach an event handler function for one or more
阅读全文
摘要:https://abp.io/ --ABP v2 官网 https://grpc.io/ --gRPC官网 https://devblogs.microsoft.com/dotnet/introducing-net-5/ --.net 5 https://http2.github.io/faq/#w
阅读全文
摘要:https://api.jquery.com/jquery.extend/ jQuery.extend( target [, object1 ] [, objectN ] ) Description: Merge the contents of two or more objects togethe
阅读全文
摘要:Prototype An object-oriented JavaScript framework Prototype is a JavaScript framework that aims to ease development of dynamic web applications. It of
阅读全文
摘要:https://learn.jquery.com/jquery-ui/widget-factory/extending-widgets/ https://api.jqueryui.com/jquery.widget/#method-_super https://johnresig.com/blog/
阅读全文
摘要:https://cdnjs.com/libraries/jquery https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/
阅读全文
摘要:The Apache service named reported the following error:>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access permission
阅读全文
摘要:https://www.universalclass.com/articles/business/communication-studies/be-a-competent-communicator.htm Researchers have broken down the characteristic
阅读全文
摘要:https://www.w3schools.com/jsref/event_oninput.asp https://www.w3schools.com/tags/ev_onchange.asp
阅读全文
摘要:https://www.w3schools.com/jquery/event_ready.asp Example Use ready() to make a function available after the document is loaded: $(document).ready(func
阅读全文
摘要:https://api.jquery.com/on https://stackoverflow.com/questions/13985243/i-want-to-know-how-jquery-delegate-or-onfor-delegate-works Have a look at the j
阅读全文
摘要:https://www.w3schools.com/tags/ev_onload.asp Example Execute a JavaScript immediately after a page has been loaded: <body onload="myFunction()"> Defin
阅读全文
摘要:https://www.w3schools.com/js/js_this.asp What is this? The JavaScript this keyword refers to the object it belongs to. It has different values dependi
阅读全文
摘要:https://stackoverflow.com/questions/2187666/help-with-js-and-functions-parameters JavaScript doesn't support what you would call in other languages me
阅读全文
摘要:http://netmvc.blogspot.com/2012/11/javascript-modularity-with-requirejs.html Today I would like to describe how you can make your JavaScript code much
阅读全文
摘要:Modular programming is used to break large applications into smaller blocks of manageable code. Module based coding eases the effort for maintenance a
阅读全文
摘要:Understanding the Module Pattern in JavaScript Of all the design patterns you are likely to encounter in JavaScript, the module pattern is probably th
阅读全文
摘要:IIFE An IIFE (Immediately Invoked Function Expression) is a JavaScript function that runs as soon as it is defined. (function () { statements })(); It
阅读全文
摘要:export Used to export functions to make them available for imports in external modules, and other scripts. The export statement is used when creating
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules Non-standardThis feature is non-standard and is not on a standards track. Do
阅读全文
摘要:How to call javascript function on page load in asp.net 解答1,使用RegisterStartupScript来运行 需要注意的是,下面的demo,显示的是执行某一个函数 Calling JavaScript function on code
阅读全文
摘要:How to run a function when the page is loaded? window.onload = codeAddress; should work - here's a demo, and the full code: 方法1 方法2
阅读全文
摘要:How can I get a JavaScript stack trace when I throw an exception? Edit 2 (2017): In all modern browsers you can simply call: console.trace(); (MDN Ref
阅读全文
摘要:查看readme中的说明, JavaScript Load Image library v. 1.13.0+: Required for the image previews and resizing functionality. JavaScript Canvas to Blob polyfill
阅读全文
摘要:https://github.com/blueimp/JavaScript-Templates https://blueimp.github.io/JavaScript-Templates/ https://github.com/blueimp/JavaScript-Templates/blob/m
阅读全文
摘要:https://stackoverflow.com/questions/32612690/bootstrap-4-glyphicons-migration Migrating from Glyphicons to Font Awesome is quite easy. Include a refer
阅读全文
摘要:Bootstrap 3 Glyphicons are not working 解答1 Note to readers: be sure to read @user2261073's comment and @Jeff's answer concerning a bug in the customiz
阅读全文
摘要:https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebPackTaskRunner New to WebPack? You may want to check out the article How to inte
阅读全文
摘要:AMD - Learning JavaScript Design Patterns [Book] - O'Reilly The overall goal for the Asynchronous Module Definition (AMD) format is to provide a solut
阅读全文
摘要:https://webpack.js.org/concepts/ https://github.com/webpack/webpack Concepts At its core, webpack is a static module bundler for modern JavaScript app
阅读全文
摘要:https://bower.io/ 这个已经淘汰 https://learn.jquery.com/jquery-ui/environments/bower/ Web sites are made of lots of things — frameworks, libraries, assets,
阅读全文
摘要:Asynchronous module definition Asynchronous module definition (AMD) is a specification for the programming language JavaScript. It defines an applicat
阅读全文
摘要:https://learn.jquery.com/jquery-ui/widget-factory/extending-widgets/ 实例 https://github.com/tkvw/jQuery-File-Upload/blob/master/js/jquery.fileupload-im
阅读全文
摘要:To start, we'll create a progress bar that just lets us set the progress once. 创建一个基于widget factory的插件progress bar As we can see below, this is done b
阅读全文
摘要:https://learn.jquery.com/jquery-ui/widget-factory/why-use-the-widget-factory/ Writing jQuery plugins is as simple as adding a method to jQuery.prototy
阅读全文
摘要:https://learn.jquery.com/jquery-ui/widget-factory/ The jQuery UI Widget Factory is an extensible base on which all of jQuery UI's widgets are built. U
阅读全文
摘要:https://requirejs.org/docs/api.html#define Define a Module § 1.3 A module is different from a traditional script file in that it defines a well-scoped
阅读全文
摘要:Exclude all instances of a class from serialization in Newtonsoft.Json Every custom type can opt how it will be serialized. To example, mark the type
阅读全文
摘要:Windows 10 v1903/19H1 and Windows Server 2019 v1903/19H1 will hang or BSOD during power-on when vIOMMU is enabled (68043) Symptoms During installation
阅读全文
摘要:https://github.com/microsoft/terminal 尝试在windows store中安装,结果everything搜索不到 I tried running WindowsTerminal.exe and it crashes! Don't try to run it unp
阅读全文
摘要:webstorm左侧的文件列表不见了, 通过菜单,view-->tools window-->project window就可以找到
阅读全文
摘要:https://stackoverflow.com/questions/22156664/what-does-the-dot-after-dollar-sign-mean-in-jquery-when-declaring-variables I see variables declared as:
阅读全文
摘要:File upload with cropping support using Cropper demo https://tkvw.github.io/jQuery-File-Upload/basic-plus-editor.html https://github.com/tkvw/jQuery-F
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.web.httpcontext?view=netframework-4.8 Encapsulates all HTTP-specific information about an individua
阅读全文
摘要:https://stackoverflow.com/questions/1760510/foreach-on-request-files The enumerator on the HttpFileCollection returns the keys (names) of the files, n
阅读全文
摘要:<input id="fileupload" type="file" name="files[]" data-url="Handler.ashx" multiple> 点击按钮选择文件后,会通过data-url发起一个post请求。 asp.net handler的处理代码 需要注意的是,respo
阅读全文
摘要:https://www.codeproject.com/Articles/170882/jQuery-AJAX-and-HttpHandlers-in-ASP-NET Introduction In this article, we will see how we can make use of t
阅读全文
摘要:Asynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett, that describes a "new" approach to u
阅读全文
摘要:https://stackoverflow.com/questions/14674999/jquery-fileupload-doesnt-trigger-done If your server is not returning JSON, try removing: dataType: 'json
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_forms_through_JavaScript As in the previous article, HTML forms can send an HTTP req
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/Sending_and_retrieving_form_data This article looks at what happens when a user submits a fo
阅读全文
摘要:The first article in our series provides your very first experience of creating an HTML form, including designing a simple form, implementing it using
阅读全文
摘要:https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms This module provides a series of articles that will help you master HTML forms. HTML forms a
阅读全文
摘要:下面的代码,直接存为html,在浏览器中打开 显示结果如下所示, 自动带有浏览按钮 https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file <input> elements with type="file" let t
阅读全文
摘要:菜单栏Navigate -> File Structure https://www.jetbrains.com/help/webstorm/viewing-structure-of-a-source-file.html You can examine the structure of the fil
阅读全文
摘要:Basic plugin https://github.com/blueimp/jQuery-File-Upload/wiki/Basic-plugin https://github.com/blueimp/jQuery-File-Upload/wiki/API https://github.com
阅读全文
摘要:https://docs.microsoft.com/en-us/dotnet/api/system.web.ihttphandler?view=netframework-4.8 Defines the contract that ASP.NET implements to synchronousl
阅读全文
摘要:Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path betwe
阅读全文
摘要:无法加载项目 https://github.com/JamesNK/Newtonsoft.Json C:\repository\GitHub\Other\Newtonsoft.Json\Src\Newtonsoft.Json\Newtonsoft.Json.csproj : error : The
阅读全文
摘要:Json序列化的时候跳过加密字段 字段类定义如下 public class Field { public bool IsEncrypted { get; set; } public string Name { get; set; } public Object Value { get; set; }
阅读全文
摘要:Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all
阅读全文
摘要:尝试做分页处理 select row_number over (orderby id asc) as rownum,* from table where rownum>=(@page*@pagesize-@pagesize) and rownum<=(@page*pagesize) https://
阅读全文
摘要:因为多个远程机器,是会用了域账号进行登录的。而域账号的密码,三个月之后,密码强制过期 添加一个新的entry,类型是Credential Entry,然后选择用户名/密码 在remote desktop编辑的页面,Credentials选择Credential repository,然后下拉框里选择
阅读全文
摘要:https://stackoverflow.com/questions/48915080/asp-net-content-is-not-supported-outside-the-script-or-aspcontent https://forums.asp.net/t/1205746.aspx?c
阅读全文
摘要:https://stackoverflow.com/questions/14956027/how-to-pass-values-across-the-pages-in-asp-net-without-using-session You can pass values from one page to
阅读全文
摘要:https://docs.gitlab.com/ee/workflow/gitlab_flow.html https://docs.gitlab.com/ee/topics/gitlab_flow.html
阅读全文
摘要:https://stackoverflow.com/questions/7672774/how-do-i-determine-the-windows-download-folder-path 如果你通过文件夹的location属性,移动了文件夹。 比如之前在%userProfile%\downloa
阅读全文
摘要:https://stackoverflow.com/questions/53115490/how-to-correctly-insert-newline-in-nvarchar The problem is your setting on SSMS, not that the data doesn'
阅读全文
摘要:Type Interceptors Castle.Core, part of the Castle Project, provides a method interception framework called “DynamicProxy.” The Autofac.Extras.DynamicP
阅读全文
摘要:Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in
阅读全文
摘要:https://support.microsoft.com/en-my/help/956176/error-message-when-you-try-to-save-a-table-in-sql-server-saving-change In the Options dialog box, clic
阅读全文
摘要:获取路径 https://superuser.com/questions/1132288/windows-command-prompt-get-relocated-users-documents-folder 执行powershell命令 [Environment]::GetFolderPath('
阅读全文
摘要:https://visualgo.net/en visualising data structures and algorithms through animation https://algorithm-visualizer.org/ https://github.com/algorithm-vi
阅读全文
摘要:Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Note: There are at
阅读全文
摘要:Given a binary search tree (BST) with duplicates, find all the mode(s) (the most frequently occurred element) in the given BST. Assume a BST is define
阅读全文