Any ExtJs experts: Help me load this ExtJs code in a div. (id="ja-content-main")

Example: Help me load the code below in a div. (*id="ja-content-main"*) *Ext.application({ name: 'HelloExt', launch: function() { Ext.create('Ext.container.Viewport', { layout: 'anchor', autoEl: 'center', items: [ { title: 'Hello Ext', html : 'This is to test Ext JS.' } ] }); } });* Kibui Kenneth Maina,* * * * *Tel:* +254 (0) 721 173 780 *Blog:* Opticom Solutions<http://opticomsolutions.blogspot.com/> *Website*: kit-b.com <http://www.kit-b.com> *Twitter:* @mainakibui<https://twitter.com/#%21/mainakibui> * * *Tools I Use:* Joomla, PHP, MYSQL, Learning Python, Amazon cloud hosting, WHM, Cpanel, Adobe CS4, Dreamweaver, Cent OS, Linux, Windows, Networking, Hardware, VM Ware.

Add a renderTo attribute to the Ext.create method. I.e Layout: 'anchor', RenderTo: Ext.Element.get('#ja-content-main'), Sent from my BlackBerry® -----Original Message----- From: Kibui Maina <mainakibui@gmail.com> Sender: skunkworks-bounces@lists.my.co.ke Date: Tue, 23 Aug 2011 19:59:25 To: Skunkworks Mailing List<skunkworks@lists.my.co.ke> Reply-To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: [Skunkworks] Any ExtJs experts: Help me load this ExtJs code in a div. (id="ja-content-main") _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://orion.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (2)
-
Kibui Maina
-
mwirigic@gmail.com