jQuery UI Widgets Forums Navigation Expander Uncaught TypeError

Tagged: 

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

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

    smithgr@jhmi.edu
    Participant

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

    Thanks,

    <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’ });
    });
    </script>

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

    Uncaught TypeError #82274

    Peter Stoev
    Keymaster

    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
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.