Answer the question
In order to leave comments, you need to log in
How to make a checkbox inactive?
I have an input with a checkbox , I need to make the checkbox inactive if the condition is true.
Answer the question
In order to leave comments, you need to log in
if(your_condition_with_true) $(".my_input").attr("disabled");
More or less like this. Without your code I can't make the example clearer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question