javascript - Unable to parse json response in Sencha application -
i want learn how develop mobile application. started using sencha framework.
i downloaded sample application here. when run localhost application, don't see list view.
i don't modified code. copy folder , run in browser localhost...
i expected from: http://jbk404.site50.net/sencha/datahandling/
what received (a warning in chrome): large picture
and head structure of index.html file:
<head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>sample test</title> <link href="resources/css/sencha-touch.css" rel="stylesheet" type="text/css" /> <script src="sencha-touch-all-debug.js" type="text/javascript"></script> <script src="app/app.js"></script> </head>
where mistake ?
i think problem example using older version of sencha touch. if change json file this structure work:
[ { "firstname": "pearlie", "lastname": "white", "contactno": "011-9865460", "address": "365-andrews street, ca" }]
hope works you, made fiddle file copy code in new fiddle , work. http://new.senchafiddle.com/#/6ae31/
greets
Comments
Post a Comment