Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Retrieving the JS object

$
0
0

Hi,

In order to get the chart object from the dom I use $("#selector").data("kendoChart")

can i use the same with navbar (e.g. $("#selector").data("kendoNavbar")) cause it does not seem to work.

If not , is there another way to get the JS object from the html

 

<div data-role="layout" data-id="drawer-layout"   data-init="onInit" data-show="showDemoLayout">
    <header data-role="header">
        <div data-role="navbar">
            <a data-role="button" id="drawer" data-rel="drawer"  href="#my-drawer" data-icon="hamburger" data-align="left"></a>
            <span data-role="view-title"></span>
            <a data-align="right" data-icon="source-code" data-click="goToSourceCode" data-role="button" title="Show this demo source code"></a>
            <a data-align="right" data-role="button" class="nav-button" data-icon="home" data-transition="slide" href="#/"></a>
        </div>
    </header>
</div>

<script>

  need the navbar object here....

<script>


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>