Skip to content

TagName in Element Undefined #600

Open
@Davmachuca

Description

@Davmachuca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions