echarts implements external call chart download method, compatible with chrome and IE10+

In the process of project development, there is often a demand for image export, especially for the application with chart class. It is usually necessary to download and export the chart. Although echarts provides a download component in the chart, it is inevitable for specific projects to call this method to save the picture outside the chart ...

Posted by bo0 on Thu, 14 Nov 2019 20:23:32 -0800

Python crawler learning notes

4.2 urllib.parse 4.2.1 url encoding and decoding A url can only be composed of specific characters (letters, numbers, underscores). If other characters appear, such as ¥, space, Chinese, etc., they must be encoded, otherwise the request cannot be sent. urllib.parse.unquote is the url decoding function, which decodes the utf8 encoding% XXX of n ...

Posted by abheesree on Thu, 14 Nov 2019 02:08:54 -0800

vue front end frame day 1

vscode used Quickly create html code! (English) + Tab My first vue code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Docu ...

Posted by bow-viper1 on Tue, 12 Nov 2019 11:18:58 -0800

This is a blushing python data analysis, hehe hehe hehe

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. PS: if you need Python learning materials, you can click the link below to get them by yours ...

Posted by Rulkster on Tue, 12 Nov 2019 00:57:39 -0800

jQuery Source Parsing DOM Operation Module Replication Element Details

This section describes the replication element sub-module in the DOM operation module, which replicates a DOM node and optionally sets whether to replicate its data cache objects (including event information) and whether to replicate in depth (descendant nodes, etc.), with the following API s: $.clone(elem, dataAndEvents, deepDataAndEvents); j ...

Posted by Vince on Sun, 10 Nov 2019 17:42:17 -0800

JavaWeb learning Servlet series 19 HttpServletRequest get request header content

In this article, we will learn the related operations of HttpServletRequest on request header. In fact, there are two methods to learn. The first is to get the value of specific attribute in request header. The second method is to get all attributes. The return is an enumeration type.   1. Get the value of name in a request h ...

Posted by chris_s_22 on Sun, 10 Nov 2019 08:46:13 -0800

Front end similar chain home city selection (without three-level linkage) array

A pot of tea, a pack of cigarettes, a code change a day Xiaobai's self summary of the project at the end of the term, without optimization, just realized the function, a little spicy chicken, changed for 8 hours, and finally changed it! (forgive me for my poor logical thinking), the code is as follows: I hope you guys can give me ...

Posted by PHPslide on Fri, 08 Nov 2019 13:45:09 -0800

Communication between parent and child components of vue

  I. data transfer from parent component to child component 1. Form parent-child relationship first <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="../js/vue.js"></script> </head> <body> <div id="app"> & ...

Posted by txmedic03 on Fri, 08 Nov 2019 06:46:44 -0800

Front end routing Hash and History mode

Understanding SPA Modern front-end projects are mostly single page Web applications (SPA), in which the path is an important part.SPA is the abbreviation of single page web application, which is translated into single page web application. In short, SPA is a WEB project with only one HTML page. Once the page is loaded, SPA will not reload or ...

Posted by melittle on Sun, 03 Nov 2019 20:18:39 -0800

IE 8 browser placeholder compatibility handling

Written in front Because the company's products need to be compatible with IE8 browser, when logging in, we found a problem. When input = text, the display of placeholder is normal, but when input = password, it becomes two points. Baidu and gg are many, some of them are simulated by lable, and others are simulated by location. We found that th ...

Posted by phpnoobie9 on Sun, 03 Nov 2019 07:58:16 -0800