Question:What is the correct syntax to populate a window with plain html in ExtJS? 

A var w=new Ext.Window({ height: 150, width: 200, title:'Title', html: '<h1>Oh</h1><p>H1 is for headline</p>' }); 

B var w=new Ext.Window({ height: 150, width: 200, title:'Title', html: '<h1>Oh</h1><p>H1 is for headline</p>' }); w.show(); 

C var w=new Ext.MessageBox({ height: 150, width: 200, title:'Title', html: '<h1>Oh</h1><p>H1 is for headline</p>' }); 

D var w=new Ext.MessageBox({ height: 150, width: 200, title:'Title', html: '<h1>Oh</h1><p>H1 is for headline</p>' }); w.show(); 

+ Answer
+ Report
Total Preview: 1134

Copyright © 2024. Powered by Intellect Software Ltd