I'd like to know if I'm using JS or Jquery, there's a way I can identify the kind of DOM object I'm manipulating.
For example, I make the following selector: $('#filtos select, #filtos input').each(function (index, obj).....);
Inside this each
I will have objects <select>
, <input>
of type text
, checkbox
among others. I would like to know if you have any properties that tell me the type of these elements.