Link to home
Start Free TrialLog in
Avatar of saturation
saturation

asked on

Dynamically change field from readonly to editable

How can I, through Javascript, make a field editable after it has been read only when a user changes the value of another field?



<input type=text name=text1 onChange="document.forms[0].text2............">

<input type=text readonly=true name=text2>
ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saturation
saturation

ASKER

Easier than I thought!