0

I'd like to receive the value of type of an input.

Docs: KendoTooltip

$("input").kendoTooltip({
        content:
            function () {
                return '<div>' + this.attr("type") + '</div>';
            }
  });

But I can't finy any way to work with this..

1 Answers1

0

It was so simple: e.target.attr("value")

content:
    function (e) {
        var text = e.target.attr("value");
        return '<div>' + text + '</div>';
    }