New to Kendo UI for jQuery? Start a free 30-day trial

Error

events

Fires when an AJAX request for content fails.

Event Data

e.xhr jqXHR

The XHR request object as returned by jQuery.ajax.

e.status String

The status of the request as returned by jQuery.ajax.

<span id="target" title="Tooltip content">
  Some content
</span>

<script>
  $(document).ready(function() {
    $("#target").kendoTooltip({
      iframe: false,
      content: {
        url: "https://demos.telerik.com/kendo-ui/content/web/tooltip/ajax/ajaxContent3.html"
      },
      width: 220,
      height: 280,
      error: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log("error");
      }
    });
  });
</script>
<span id="target" title="Tooltip content">
  Some content
</span>

<script>
  $(document).ready(function() {
    var tooltip = $("#target").kendoTooltip({
      iframe: false,
      content: {
        url: "https://demos.telerik.com/kendo-ui/content/web/tooltip/ajax/ajaxContent3.html"
      },
      width: 220,
      height: 280
    }).data("kendoTooltip");

    tooltip.bind("error", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
      console.log("error");
    });
  });
</script>
Not finding the help you need?
Contact Support