Three functions: 1. Automatic vertical centering of content 2. The default prompt text is displayed in gray 3. Click to become empty Copy code The code is as follows:<input type="text" name="wd1" id="qy_1" maxlength="100" style="color:gray;width:199px;height:30px;line-height:30px;" autocomplete="off" value="Please enter the company name" style="color:gray;" onfocus="javascript:if(this.value == 'Please enter the company name') this.value = ''; this.style.color='gray';" onblur="if(this.value == '') {this.value = 'Please enter the company name'; this.style.color = 'gray';}"> |
>>: How to query data from multiple unrelated tables and paging in Mysql
Table of contents Why do we need garbage collecti...
Within rows, light border colors can be defined i...
What does Ctrl+c, Ctrl+d, Ctrl+z mean in Linux? C...
Abstract: HBase comes with many operation and mai...
This article uses an example to describe the MySQ...
<body> <div id="root"> <...
I searched on Baidu. . Some people say to use the...
1. What are the formats of lines? You can see you...
Mysql left join is invalid and how to use it When...
Table of contents background CommonsChunkPlugin s...
A hyperlink URL in Vm needs to be concatenated wit...
Virtualization 1. Environment Centos7.3 Disable s...
Introducing the Geo module of Nginx The geo direc...
This article shares the specific code of Vue usin...
Table of contents Case Context switching overhead...