Please give me an example in JQuery to understand syntax similar as I code in ExtJS
In ExtJs to create window I simply do this:
Please give me the same example in jQuery!!!
<script type="text/javascript">
Ext.onReady(function(){
var win = new Ext.Window({
layout:'fit',
width:500,
height:300,
buttons: [{
text:'Submit',
disabled:true
},{
text: 'Close',
handler: function(){
alert('Click on Close button');
}
}]
});
win.show();
});
</script>