Tag:modify and search
-
Time:2020-11-23
This paper describes the common methods of adding, deleting, modifying and querying HTML DOM by JavaScript. For your reference, the details are as follows: First of all, JS can modify all elements and attributes in HTML. It can also change CSS style, and can listen to all events and respond. This note mainly records how […]
-
Time:2020-11-10
This paper describes the PHP variable and string add, delete, modify and query operations. For your reference, the details are as follows: Use of variables <?php //Tell the browser what type of document to parse with what encoding method, to prevent Chinese garbled header(“Content-type: text/html; charset=utf-8”); //Examples of integers //Declaration integers $var=123; //Output one or […]
-
Time:2020-9-29
This paper describes the Ajax implementation of data addition, deletion, modification and query operations. For your reference, the details are as follows: Home page: index.html <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″> <title></title> <script src=”http://libs.baidu.com/jquery/2.1.4/jquery.min.js”></script> </head> <body> No.: < input type = “text” value = / > < br > Name: < input type = “text” […]
-
Time:2020-9-22
This paper describes how Python operates MySQL database. For your reference, the details are as follows: 1. Installation There are many libraries to connect to MySQL database through python. Here we use the official MySQL connector / Python library. Its official website is: https://dev.mysql.com/doc/connector-python/en/ 。 Install through the PIP command: pip install mysql-connector-python The latest […]