TagName in Element Undefined
Davmachuca opened this issue · 0 comments
Davmachuca commented
Hallo!
If in this function it finds an element without tagName it gives an error for being undefined.
$.fn.resetForm = function() {
return this.each(function() {
var el = $(this);
**var tag = this.tagName;**
I believe that it can happen in other places that also use tagName.
Greetings