Detailed explanation of CSS compatibility

Box Model Attributes[width/height](Full compatibility) width height (IE6-I won't support it) min-width max-width min-height max-height[inner margin padding]padding[border](Full compatibility) border border-width border-color border-style (IE8-I won't support it) border-radius (IE10-I won't support it) border-image border-image-source border- ...

Added by tinkertron on Wed, 12 Jun 2019 20:45:57 +0300

selenium's handling of rich text

This article is reproduced in the current study Due to project needs, rich text processing is involved. Baidu, found that someone has summed up a lot. The general idea is as follows: 1.switch_to_frame 2.find_element_by_tag_name('body').send_keys("123")  Link: http://blog.csdn.net/huilan_same/article/details/52386274 There are three ty ...

Added by el_quijote on Sat, 08 Jun 2019 23:29:13 +0300

Upload files via Ajax and make Ajax requests using FormData

Upload files via AjaxUse FormData for Ajax requests  Upload files via traditional form submission: <form id= "uploadForm" action= "http://localhost:8080/cfJAX_RS/rest/file/upload" method= "post" enctype ="multipart/form-data">        <h1 >Test Passed Rest Interface Upload File </h1>        <p >Spe ...

Added by heropage on Wed, 05 Jun 2019 20:08:05 +0300

Prevent default behavior

Default behavior For example, the default behavior of a link label is jump, and the default behavior of submission button is submission, which prevents default behavior from interacting with the user before default behavior occurs, and chooses what behavior to perform after obtaining the user's choice. The ways and codes of different browser ...

Added by simcoweb on Fri, 24 May 2019 23:18:41 +0300

Corresponding to HTML dom, learn common jQuery operations

Create node Example: Create a div tag node Var $div = $('<div id = div">I am div </div>'); Insertion node 1. Insert peer nodes after() inserts content after all matching elements, for example: HTML Code: <p> I want to say:</p> jQuery code: After (&q ...

Added by playa4real on Fri, 24 May 2019 01:27:21 +0300

Formula Editor - Tip Dropdown Box Function - Dynamic Acquisition of Cursor Position

Introduction Should develop the demand, need to write a formula editor plug-in, below to tell you about the implementation process. (wiping sweat, forcing calmness, cough, voice opening ~) Html  There's really only a little bit of it.~ <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title ...

Added by PHPLRNR on Fri, 17 May 2019 09:51:49 +0300

Implementation principle of two main methods of front-end routing

Original Link: https://segmentfault.com/a/1190000007238999 Early routes were implemented on the back end, reload ing pages based on url caused great pressure on the back end as the page became more and more complex. In order to alleviate background pressure and front end user experience, the method of partial refresh of ...

Added by Derokorian on Tue, 14 May 2019 22:28:05 +0300