Asked 8 years, 11 months ago Viewed 511k times I'm using Sencha Touch (ExtJS) to get a JSON message from the server.

Sencha extjs job interview questions for teens

I'm trying to acomplish that like this: var jsonData = (myMessage); for (var counter in unters) { (unter_name);} What am i doing wrong? Thank you! Andreas Wong 54. 8k 19 gold badges 100 silver badges 120 bronze badges asked Apr 3 '12 at 10:54 maephisto maephisto 4, 234 8 gold badges 46 silver badges 71 bronze badges 1 Javascript has a built in JSON parse for strings, which I think is what you have: var myObject = ("my json string"); to use this with your example would be: for (var i = 0; i <; i++) { var counter = unters[i]; Here is a working example EDIT: There is a mistake in your use of for loop (I missed this on my first read, credit to @Evert for the spot). using a for-in loop will set the var to be the property name of the current loop, not the actual data. See my updated loop above for correct usage IMPORTANT: the method wont work in old old browsers - so if you plan to make your website available through some sort of time bending internet connection, this could be a problem! If you really are interested though, here is a support chart (which ticks all my boxes).

So I edited the code as per my requirement. And here are the changes: It will save the id number from the response into the environment variable. var jsonData = (responseBody); for (var i = 0; i <; i++) var counter = [i]; tEnvironmentVariable("schID", );} ElChiniNet 2, 578 2 gold badges 17 silver badges 24 bronze badges answered Jul 25 '18 at 13:21 The answer with the higher vote has a mistake. when I used it I find out it in line 3: I changed it to: var counter = jsonData[i]. counters; and it worked for me. There is a difference to the other answers in line 3: answered May 5 '19 at 11:43 Just as a heads up... var data = (responseBody); has been deprecated. Postman Learning Center now suggests var jsonData = (); answered May 26 '20 at 10:36 Drew Drew 469 1 gold badge 5 silver badges 16 bronze badges You should use a datastore and proxy in ExtJs. There are plenty of examples of this, and the JSON reader automatically parses the JSON message into the model you specified. There is no need to use basic Javascript when using ExtJs, everything is different, you should use the ExtJs ways to get everything right.

answered Apr 3 '12 at 10:58 musefan musefan 45. 4k 20 gold badges 123 silver badges 169 bronze badges 3 This is my answer,

Create Object from JSON String

First Name:
Last Name:

answered Mar 19 '13 at 13:01 Fisher Man Fisher Man 469 1 gold badge 5 silver badges 14 bronze badges 0 In a for-in-loop the running variable holds the property name, not the property value. (unters[counter]. counter_name);} But as counters is an Array, you have to use a normal for-loop: for (var i=0; i<; i++) { answered Apr 3 '12 at 11:00 Bergi Bergi 502k 104 gold badges 804 silver badges 1147 bronze badges "Sencha way" for interacting with server data is setting up an proxied by a (in this case) furnished with a (for JSON-encoded data, there are other readers available as well).

Sencha extjs job interview questions

sencha extjs job interview questions and answers examples
  1. Federal civil service commission latest job vacancies 2
  2. Working at Nippon Paint: Employee Reviews | Indeed.com
  3. Job openings 45631 zip code
  4. Dba telephone interviewer job
  5. Sencha extjs job interview questions and answers sample

Sencha extjs job interview questions and answers pdf

sencha extjs job interview questions for interviewer

Education Bachelor's Degree in Computer Science Indiana University Skills Good understanding of overall web design including basic usability, accessibility, industry standards, architecture, and navigation Strong knowledge of JavaScript with object oriented programming Good knowledge and working experience in AngularJS (1. x) Extremely strong communication skills. Take task ownership and have a strong desire to learn Strong CSS, SASS knowledge Able to quickly grasp new concepts, incorporate innovations and stay up to date with industry and business directions Experience with general User Experience concepts and the ability to design highly effective user interfaces Strong knowledge of web security concerns and preventive measures Strong knowledge of modern frontend technologies, best practices, and load speed optimization techniques Experience in creating self-contained, reusable and testable modules and components

sencha extjs job interview questions for teens
  1. Tv now malayalam channel job vacancies list
July 19, 2021, 6:32 pm