jQuery Window
Invoke the setTitle method of the jqxWindow. Author: http://jqwidgets.com
by mark edwards
HTML
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div id='jqxwindow'>
<div>Header</div>
<div>Content</div>
</div>
<input type="button" style="margin: 50px;" id="jqxbutton" value="Set new title" />
JavaScript
$('#jqxwindow').jqxWindow({
theme: 'energyblue'
});
$("#jqxbutton").jqxButton({
theme: 'energyblue',
width: 200,
height: 30
});
$('#jqxbutton').click(function () {
$("#jqxwindow").jqxWindow( { 'setTitle':"New Title", 'setContent' : 'New Content'})
});