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

enter image description here

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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -