if (this.element.is("input")) {
                        this.type = "input";
                    } else {
                        this.type = "button";
                    }