Js determines whether the label type is input

Determine whether the label type is input

element.tagName =='INPUT'

Guess you like

Origin blog.csdn.net/qq_26318597/article/details/132737702