The figure tag and figcaption tag are new semantic tags in HTML5. figure tag, html5 semantic tag. Used to specify individual stream content (images, charts, photos, code, etc.). figcaption tag, html5 semantic tag. Used in conjunction with figure for
Preface Before, the previous essay mentioned that Canvas screenshots web pages as images. Here is a new requirement: screenshot the web pages and save them as PDF files for users to download. Using canvas to save web pages as PDF files supports cross-doma
Source of the problem This problem stems from the background limit of 2MB when uploading image files, but when the camera is turned on to take pictures, it exceeds 2MB every minute. In order not to affect the user experience and functional requirements, t
There are great restrictions on using JS method to call page tables to export excel: 1. Currently I have tried several browsers, only IE supports, 2. Click Tools--Security---Customization Level---ActiveX related options are enabled below It is the html co
1. Comparison function generator: Copy the code as follows:/*** Comparison function generator* * @param iCol* Number of data rows* @param sDataType* Data type of this row* @return*/function generateCompareTRs(iC
The code copy is as follows:<span style="font-size:18px;"><input type='checkbox'/></span> The above code will generate a multi-check box under IE. Clicking it will select the tick, and clicking it again will cancel the tick. It doesn't look like this
Window.Location = "AAA.ASPX" method can only be opened on the current page. If you want to open on the new page, the simplest thing is to use the following method form.target = "_lank"; form.action = "aaa.aspx "; form.submit
Description of the problem of "introduction of JS file IE6 error": The page introduces a JS file, which defines the function or object, and then when the function or object is called in the page, the "grammatical error" or "lack o
Js table, tens of thousands of pieces of data are loaded instantly in the actual application of Ajax dynamic data loading. Everyone is accustomed to a way of thinking: create a row of one data. So if the number is large and the data needs to be loaded at
LocalStorage is a method of re -client provided by HTML5 to achieve local storage, but the LocalStorage method can only store string data. Sometimes we need to store objects to local, such as JSON; then how can localStorage realize the storage and reading
removeChild(a) is used to delete existing elements in the document parameter a: the node to be removed copy code code is as follows:<div id="guoDiv"> <span>1</span> <span>2</span> <span>3</span></div> v