jquery-form/form

TagName in Element Undefined

Davmachuca opened this issue · 0 comments

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