Hi
I want if checkbox is enabled then the other 2 text button should get enabled
C#
Assign Current Session Only
Reading Proficiency *
Track *Thanks
Hi
I want if checkbox is enabled then the other 2 text button should get enabled
Assign Current Session Only
Reading Proficiency *
Track *Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Altaf AnsariRank #1,045 · 1.8K reputationPosted Aug 26, 2024, 6:05 AM EDT
you can simpliy use javacript function to achiev the same :
function toggleTextBoxes(checkbox) { var isChecked = checkbox.checked; var txtRP = document.getElementById(''); var txtTrack = document.getElementById(''); txtRP.readOnly = !isChecked; txtTrack.readOnly = !isChecked; }Jithu ThomasRank #437 · 5.7K reputationPosted Aug 26, 2024, 5:41 AM EDT
Please try this updated code..
Assign Current Session Only Reading Proficiency * Track * function toggleTextBoxes(checkbox) { var isChecked = checkbox.checked; var txtRP = document.getElementById(''); var txtTrack = document.getElementById(''); txtRP.readOnly = !isChecked; txtTrack.readOnly = !isChecked; }