JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/icon.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<body>

<button>Change content of mainacc elements</button>

<div id="mainacc"></div>

</body>

JavaScript

$(document).ready(function(){
var mydata = '<div class="easyui-accordion" style="width:300px;height:200px;">'+
'    <div title="About" iconCls="icon-ok" style="overflow:auto;padding:10px;">'+
'        <h3 style="color:#0099FF;">Accordion for jQuery</h3>'+
'        <p>Accordion is a part of easyui framework</p>'+
'    </div>'+
'   <div title="About easyui" iconCls="icon-reload" selected="true" style="padding:10px;">'+
'        About ...'+
'    </div>'+
'</div>'

  $("button").click(function(){
    $("#mainacc").html(mydata);
  });
});