Тёмный

Difference between "readonly" and "disabled" - HTML Tutorial 

dcode
Подписаться 135 тыс.
Просмотров 10 тыс.
50% 1

In this video we take a look at the difference between the "readonly" and "disabled" attribute on HTML input fields.
Essentially, input fields with the "readonly" attribute are not editable but are sent to the server whereas "disabled" input fields are not editable and do not be sent to the server.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozi...
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@prathsachdev
@prathsachdev 5 лет назад
Is there a way to make preset value of input field readonly and after that it should be default. For example the first 2 digits already set as value of field should be readonly but numbers can be typed after that. Is this possible in any way??
@natqe4049
@natqe4049 5 лет назад
perfect
@KostaTsourdalakis
@KostaTsourdalakis 5 лет назад
Amazing!!
@weizhang2389
@weizhang2389 3 года назад
most underrated channel