Answer the question
In order to leave comments, you need to log in
How to get the value of two inputs of the same class?
Hello!
there are two inputs with the same classes, I want to get the value of the second class, but through this code:
I get the value of only the first input, I also tried this:
but it gives me an error ..
how can I get the value of both classes?
$('.input_class').val();
$('.input_class')[1].val();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question