Answer the question
In order to leave comments, you need to log in
How to check all input values without required?
Here I have a bunch of all sorts of different inputs and I need to make sure that the button is no longer disabled. The main thing I need is a condition for inputs
if ($("input[name='1']").val() !="" &&
$("input[name='2']").val() !="" &&
$("input[name='3']").val() !="" )
{
$("#but").removeClass("disabled");
}
Answer the question
In order to leave comments, you need to log in
$("input[name='1'], input[name='2'], input[name='3']").map(...)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question