dom traversal on click issue
I am trying a form validation on click of a button. I expected to be able to traverse up using closest and then use find for each input field. It doesn't seem to be working. Also, in general, I am finding I can select an element just by id without any traversal. This is the
jsfiddle code Thanks in advance.