👉 Professional CSS Course: bytegrad.com/professional-css...
👉 Professional JavaScript Course: bytegrad.com/professional-jav...
👉 Email newsletter (get new course alerts): email.bytegrad.com
In this tutorial you’ll learn how to disable or block form inputs in HTML.
The difference between disabled and readonly is that read-only controls can still function and are still focusable, whereas disabled controls can not receive focus and are not submitted with the form and generally do not function as controls until they are enabled.
Because a read-only field cannot have its value changed by a user interaction, required does not have any effect on inputs with the readonly attribute also specified. - with disabled it doesnt get sent to server, with readonly it will
💻 Premium Courses:
Professional JavaScript: bytegrad.com/professional-jav...
Professional CSS: bytegrad.com/professional-css...
All courses: bytegrad.com/courses
🔔 Email newsletter (get new course discounts): email.bytegrad.com
0:00 Solution
#webdevelopment #coding #programming
Негізгі бет Ғылым және технология Disable or Block Form Inputs in HTML
Пікірлер: 2