July 2022

From smart sanitation to boost the construction of smart cities, to use service robots to relieve the dilemma of aging

Population aging is an important trend in global social development, and it is also the most significant and irreversible feature of the times. Developed countries are entering an aging society, and developing countries are entering an aging society. According to the census results of the National Bureau of Statistics, the age of 60 by the

From smart sanitation to boost the construction of smart cities, to use service robots to relieve the dilemma of aging Read More »

South Korean electric scooter operator Gbike acquires ZET

ZET is a micro-transportation platform that operates in major cities in South Korea, covering Jeju, Daegu, and Incheon, among others. The business model of “ZET” is “a micro-transportation franchise platform”, which helps franchisees launch their own businesses. “Gbike”, the operator of the Korean electric scooter brand “Gcooter”, recently announced the acquisition of “ZET”, a shared

South Korean electric scooter operator Gbike acquires ZET Read More »

redis reads all keys

1. Full traversal keys keys pattern We have already introduced it in the previous article, you can use it directly keys * There are 5 types of redis values, and different types have different commands to get them: Character directly get key Pop an element from the left end of the queue LPOP key Hash

redis reads all keys Read More »

The case of jquery disappearing and hiding pictures in turn through recursion

The case of javascript jquery disappearing and hiding pictures in turn through recursion <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> <style> div{ width: 400px; } img{ width:90px ; height:90px; vertical-align: top; } </style> </head> <body> <input type=”button” value=”hidden animation” id=”btn1″/> <input type=”button” value=”show animation” id=”btn2″/> <div> <img src=”images/1.jpg”/> <img src=”images/2.jpg”/> <img src=”images/3.jpg”/> … The

The case of jquery disappearing and hiding pictures in turn through recursion Read More »

jquery how to get label content

The method of jquery to get the content of the label: 1. Use the “$(‘#id’).val()” method to get the value of the label; 2. Use the “$(‘#id’).text()” method to get the middle of the label 3. Get the html content in the tag through the “$(‘#id’).html()” method. Recommended: “JavaScript Basic Tutorial” get value of label

jquery how to get label content Read More »

How to add jquery’s val() value

var hdcval = $(“#hdelsecount”).val(); hdcval += icount + “,”; $(“#hdelsecount”).val(hdcval); Appends a value to a hidden field. . Original is 0 icount is the number passed in think so $(“#hdelsecount”).val(icount+”,”); I thought I could repeatedly append values, such as 1, 2, 3, 4, but the val() method is overridden. Instead of appending characters to the

How to add jquery’s val() value Read More »

input carriage return trigger event

need You need to enter text in the search box and press Enter to trigger the search event accomplish page code <div class=”index-search”> <input type=”text” name=”indexSearch” class=”inp” value=”<s:property value=”front.key”/>” onkeydown=”tab(event)” placeholder=”Search in this store” id=”ssubmitStore”> <img class=”icon icon-search” src=”/images/djimart-supplier-home/icon_search1.png”> </div> Effect When we enter characters in the text box above, press Enter to achieve automatic

input carriage return trigger event Read More »

Nodejs create server steps

1. Introduce the http module. This module is a built-in module const http = require(‘http’) 2. There is a createServer() function on http to create a server. const server = http.createServer() //得到个服务器对象 3. Listen to the event: listen to the request event sent by the user server.on( ‘request’,function(req,res){ /* req:request简写。语法上只是一个形参而已,请求消息 res:response简写,响应消息 */ console.log(‘一个用户发起了请求’) //此时这里没有响应。按照协议:一个请求必须对应一个响应啊。 res.end(‘hello

Nodejs create server steps Read More »

Build a simple server with nodejs

1. Nodejs server setup nodejs writes a server that others can access; http protocol: a specification that browsers and servers abide by; The communication between the http server and the browser is realized through http Our server, the most important part, is monitoring, that is to say, if http sends a request to the server,

Build a simple server with nodejs Read More »