There are two ways to achieve read-only input: disabled and readonly. Naturally, both results can only be read but not edited, but there are big differences between the two. Disabled means that the input is invalid and its value will not be passed to any program, such as asp, php, etc. Readonly simply cannot be edited and does not affect the transmission of its value. Disabled usage: <INPUT type="text" name="username" value="james" disabled> Readonly usage: <INPUT type="text" name="partNumber" value="1500" readonly> |
<<: A brief discussion on whether too many MySQL data queries will cause OOM
>>: How to distribute two buttons on the left and right sides of the same parent tag using CSS
In actual development, the primary key of MySQL c...
Solution to MySql service disappearance for unkno...
This article uses an example to describe the mana...
There are two most commonly used methods to insert...
This article describes the steps to install the p...
Table of contents 1. Introduction 2. JDBC impleme...
A transaction is a logical group of operations. E...
Table of contents 1. Regular expression creation ...
Table of contents style scoped style module State...
1. Application of multimedia in HTML_falsh animat...
Two parameters of Mysql paging select * from user...
1. Overflow content overflow settings (set whether...
Location means "positioning", which is ...
Table of contents 1. Why is JavaScript single-thr...
Basic concepts of consul Server mode and client m...