PDA

View Full Version : autoload in Sencha Touch or something similar to load from a external html file ?



findktk
26 Mar 2011, 12:24 PM
All i need to do is have my own html page say xyz.html which has a <h1>hello world</h1> inside it to load in the panel, instead of html: 'hello world', I would need something like html: {url: 'xyz.html'}, assuming xyz.html is in the same folder as index.js

I also tried the Ajax code bit, it dint work, where do i call it from, does it need to be initialized with new Ext.Ajax...

also i found that there is an autoload parameter in ext js here http://dev.sencha.com/deploy/dev/exa...tabs/tabs.html, doesnt seem to work in sencha touch
Thanks