canvas Picture Trial

In these days, I will study canvas drawing again, and simply write a page, which is used to frame items. For the time being, I just want to draw quadrilateral. Just go directly to the code, the comments are written more complete already. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></tit ...

Posted by Soogn on Tue, 30 Jul 2019 22:06:08 -0700

Learn the overall architecture of jQuery source code and build your own js class library

Although jQuery is hardly used now, it is still necessary to learn its source code for JS libraries that have been popular for more than 10 years. You can also learn to build your own JS class library, job interviews can add a lot of color. This article is about v3.4.1.unpkg.com source address: https://unpkg.com/jquery@3.4.... jQuery github rep ...

Posted by zoozoo on Mon, 29 Jul 2019 03:33:29 -0700

File Upload Progress Tips

demand When the uploaded files are relatively large, users may need to wait for a long time. At this time, if there is no prompt on the front end, the experience is not very good. If there is a prompt on the upload progress, it will be much better. In order to display the upload progress in real time during the upload process, the uploaded size ...

Posted by agge on Tue, 16 Jul 2019 12:53:34 -0700

javascript module (1) - module idea

As a rookie, the word "module" has been heard countless times. Recently, I was asked to write a simple module, wtf, but, what is it? (This article is based on my thinking process, if you have any mistakes, please point out) Module: A set of methods to implement specific functions. (I think modules are similar to classes in that they ...

Posted by Bookmark on Mon, 15 Jul 2019 18:00:38 -0700

ASP.NET MVC 5 Implementing GridView Paging

This paper implements a GridView with ASP.NET MVC 5. Its functions include paging, filtering, sorting, asynchronous execution of AJAX, and also support Responsive Web Design in appearance. The execution screen is shown in Fig. 1 below.ASP.NET MVC implements GridView and paging in many ways. This article refers to several articles of Code Projec ...

Posted by phaseonemedia on Mon, 15 Jul 2019 12:00:53 -0700

[Serial] Research EasyUI System - LinkButton Component

The linkbutton is a button component in the easyui framework and is the parent of other button components in various forms, such as MenuButton.linkbutton is created from <a>tag in html. Users can add icons and text to the button. It is a very common component. The Cancel and Logon buttons in the image above are the link buttons.Take a l ...

Posted by Cenron on Mon, 15 Jul 2019 10:09:12 -0700

A Simple Example of Dwr Framework

Dwr is an open source Java library that helps you implement the Ajax website. It lets you call Java on the Web server from Javascript code in the browser, just as Java code is in the browser. Dwr mainly consists of two parts: Servlet s running on the server process requests and return the results to the browser. Javascript running on browse ...

Posted by Fruct0se on Sat, 13 Jul 2019 13:46:04 -0700

Preliminary Study on jQuery Plug-in

I haven't blogged for a while, but recently changed my job. From the previous H5 mobile page project to the current PC single page project, the main thing I did after I joined the project team was to write the front-end plug-ins. I worked for more than a month to summarize some of my experiences in writing plug-ins in this project. Generally s ...

Posted by Zanne on Thu, 11 Jul 2019 17:34:12 -0700

Using jsencrypt to implement front-end encryption of parameters

For login function in a project, parameters are usually submitted to the server through form form or ajax for validation. In this process, if the login password is encrypted once in the front end, the security is better than that of direct submission.Recently, when I read the login page of the blog park, I found that the login of the blog park ...

Posted by Izzy1979 on Wed, 10 Jul 2019 10:16:39 -0700

Asynchronous Interaction Base XMLHttpRequest Object

Recently, Baidu Map Development has touched a handful of native ajax, because Ajax has been written before using Jquery encapsulated Ajax objects, let's talk about native Ajax first. ajax: asynchronous javascript and xml, which is not a language, but a new standard for updating web page data without refreshing the current web page. Its core i ...

Posted by sebajom on Tue, 09 Jul 2019 10:29:16 -0700