DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
setReadonly
Sets a value specifying whether the control is readonly. A read-only input field cannot be modified (however, a user can tab to it, highlight it, and copy the text from it). Form elements with the readonly attribute set will get passed to the form processor.
Signature:
function setReadonly([true|false])
Example:
editors['team'].setReadonly(true);
See also: getReadonly
Prev | Return to chapter overview | Next |