I have already checked the example, please see the below example, in second page close button is not shown. This happens as soon as I call html on li.
<script type="text/javascript"> $(document).ready(function() { $('#tabDiv').jqxTabs({ showCloseButtons : true }); $('#tabDiv').jqxTabs('addLast', 'Second', 'Second Page'); $("#tabDiv").find("ul:first").find("li:last").html('Second Changed'); $("#tabDiv").find("ul:first").find("li:last").attr('hasclosebutton', 'true'); });</script> <div id="tabDiv"> <ul style="margin-left: 30px;" id="unorderedList"> <li>First</li> </ul> <div>First Page</div> </div>