Edit this page

contentElement

Obtains the DOM element that encloses tab content by its tab index in the TabStrip.

Important: To remove the tab contents safely, use contentHolder to get the element to empty.

Obtain the content element representing the first tab in a TabStrip

<div id="tabstrip">
    <ul>
        <li>Tab 1</li>
        <li>Tab 2</li>
    </ul>
    <div>Content 1</div>
    <div>Content 2</div>
</div>

<script>
    var tabStrip = $("#tabstrip").kendoTabStrip().data("kendoTabStrip");
    console.log(tabStrip.contentElement(0));
</script>

Parameters

itemIndex Number

The index of the tab in the TabStrip.

Returns

Element The DOM element enclosing tab content by its tab index in the TabStrip.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy