Html Expander

Set the initContent property of the jqxExpander. Author: http://jqwidgets.com

by jqwidgets

HTML

<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id='jqxExpander'>
    <div>Header</div>
    <div>
        <input type="button" id='jqxButton' value="Button" />
    </div>
</div>

JavaScript

$("#jqxExpander").jqxExpander({
       width: 200,
       height: 100,
       theme: 'energyblue',
         initContent: function () {
           $("#jqxButton").jqxButton({
               width: 100,
               height: 50,
               theme: 'energyblue'
           });
       }
   });