Link to home
Start Free TrialLog in
Avatar of code_talker
code_talkerFlag for United States of America

asked on

How do you disable an input textfield dynamically when clicking on radio buttos in a form?

I'm using HTML, PHP and JavaScript to create an HTML webpage. When the user clicks on a specific radio button, I want to disable an input textfield. When the user clicks on another radio button, I want to enable the input textfield. How do I code this? The solution must dynamically enable and disable the radio button.
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Do you want to disable a radio button or a text field?  

Please give us a link to any web site that does what you want, thanks.
ASKER CERTIFIED SOLUTION
Avatar of nap0leon
nap0leon

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
SOLUTION
Avatar of Brad Brett
Brad Brett
Flag of United States of America 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 code_talker

ASKER

250