0

Getting value of an input without using form

Can I get value of an input without using form ? (getAttribute is giving "null" )

3rd Jun 2017, 7:01 PM
Serhat Merak
Serhat Merak - avatar
1 Answer
+ 1
you don't have to use a form always to get input values. use id,class or attribute to get value. most of the time I don't use a form but instead use standalone inputs with an ID.
3rd Jun 2017, 7:13 PM
Apel Mahmod
Apel Mahmod - avatar