set readonly and not readonly property in javascript
by Ramya[ Edit ] 2009-09-30 20:04:09
Javascript readonly property:
Set readonly property using javascript
var v2 = document.df.val1;
v2.readOnly = true;
Set not readonly property using javascript:
var v2 = document.df.val1;
v2.readOnly = false;