jQuery UI Widgets Forums Navigation Expander Uncaught TypeError


This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 6 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Uncaught TypeError #82273


    I’m getting “Uncaught TypeError: Cannot read property ‘classname’ of undefined – jqxexpander.js:7


    <link rel=”stylesheet” href=”https://apps.onc.jhmi.edu/widgets/jqwidgets/styles/jqx.base.css” type=”text/css” />
    <script type=”text/javascript” src=”https://apps.onc.jhmi.edu/widgets/scripts/jquery-1.11.1.min.js”></script>
    <script type=”text/javascript” src=”https://apps.onc.jhmi.edu/widgets/jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”https://apps.onc.jhmi.edu/widgets/jqwidgets/jqxexpander.js”></script>

    <script type=”text/javascript”>
    $(document).ready(function () {
    $(‘#sampleDiv’).jqxExpander({ width: ‘auto’ });

    <div id=’sampleDiv’>This is my sample Div</div>`

    Uncaught TypeError #82274

    Peter Stoev

    Hi smithgr@jhmi.edu,

    Initialization is incorrect. Expander should have Title and Content i.e 2 DIV tags inside a container DIV tag, not 1 DIV tag with 1 DIV tag inside it.

    Best Regards,
    Peter Stoev

    jQWidgets Team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.