Defining read-only localStorage allows you to access the remote (origin) object storage of a Document; data is stored as a cross-browser session. localStorage is similar to sessionStorage, the difference is that the data is stored in localSt
1. Overview of anonymous functions The first time I got to know anonymous functions was in the jquery source code. When I opened jQuery, the first thing I saw was the copied code: (function(window, undefined) {........... ............})(wind
Starting today, we will analyze how to build an HTML5 Canvas topology graph application from the most basic level. HT internally encapsulates a topology graph component ht.graph.GraphView (hereinafter referred to as GraphView), which is the component with
With the development of front-end technology, more and more business scenarios require front-end to handle file downloads. Among the many methods, <a>downloading through the download attribute of the tag is a common and relatively simple method. The downl
The HTML 5.2 draft adds a new dialog element. But it's an experimental technique. Previously, if we wanted to build any kind of modal dialog or dialog box, we needed to have a background, a close button, bind events in the dialog box, arrange our mark
Javascript can only perform certain operations on DOM elements after they have been defined. This problem is described in detail in the article "Javascript Execution Sequence" //www.VeVB.COm/article/44577.htm. jQuery uses document.rea
I swept through JavaScript a while ago, and I felt good about myself at the time. Now that I think about it, I feel like it’s nothing. Today's task is to study the chapter on the life cycle of the client page in asp.net ajax. However, I was a bit conf
I remember that I encountered such a problem during an interview: There is a form, and then there are 4 input boxes and a merge button. The input box is like this, from which row to which row, and from which column to which column. , and then click the bu
In today's code, I accidentally discovered that the eval() function of javascript cannot execute html code, for example: Copy the code as follows: <script>eval('<li>hehe</li>')</script> The code will not be executed, but it can be executed if changed
Preface When I was looking for inspiration on echarts two days ago, I saw a lot of similar examples of maps, map positioning, etc., but there seemed to be no subway map, so I spent some time tinkering with this interactive subway map. Demo, the points on
JavaScript libraries, ICEfaces, Adobe's Flash, Microsoft Silverlight, and now HTML5, the global competition for network dominance has entered a new era - a rich Internet application (RIA for short, also called rich Internet application in Chinese) era