I want to disable writing in an input field of type text
using JavaScript, if possible.
The input field is populated from a database; that is why I don't want the user to modify its value.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…