Difference between Disabled and Readonly

Warning message

JQuery Cycle must be installed in order to run the slideshow. Please go to Status Report for instructions.

Primary tabs

HTML/Drupal Disabled element/attribute :

1. If the disabled attribute is used, then the value do not get passed to the form processor while submitting the form. It means you cannot receive the values of that element to process them.

2. You can not set focus on these elements .

3. You can not navigate these elements with the help of TAB.

 

HTML/Drupal Readonly element/attribute :

1. If the Readonly attribute is used, then the value get passed to the form processor and you can process the values which are submitted by Readonly element.

2. You can set focus on these elements .

3. You can navigate these elements with the help of TAB.