requestStart

Triggered before an AJAX request started. Note that this event is triggered only when an AJAX request, instead of an iframe, is used.

Example - subscribe to "requestStart" event during initialization

<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,
      requestStart: function(e) {
        console.log("request is started");
      }
    });
  });
</script>

Example - subscribe to "requestStart" event after initialization

<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("requestStart", function(e) {
      console.log("request is started");
    });
  });
</script>

Event Data

e.target jQuery

The target element, for which the Tooltip is shown.

e.options Object

The request options which will be set to jQuery.ajax or to the iframe

In this article
Not finding the help you need?