Link to home
Start Free TrialLog in
Avatar of SOCO1
SOCO1

asked on

Making a readonly textbox writable in JScript, CLient side

I have a form with text boxes and drop downlists which are all readonly. Once i press an "Edit" button, i want to make the textboxes and ddl writable in clientscript.
I've tried:

    document.getElementById(obj).readonly = false;
    document.getElementById(obj).ReadOnly = false;
    document.getElementById(obj).style.ReadOnly = false;


but none seem to work. Help anyone?
ASKER CERTIFIED SOLUTION
Avatar of hielo
hielo
Flag of Wallis and Futuna 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