Results 1 to 2 of 2

Thread: Difficulties with parsing json using ext.ajax

  1. #1
    Sencha User
    Join Date
    Feb 2016

    Default Difficulties with parsing json using ext.ajax

    I want to achieve the same in ext js 6 by using ext.ajax as I do in the following jquery:

    url: "url/address",
    crossDomain: true,
    headers: {
    'x-secure-token': "bla-bla"
    dataType: 'json',
    beforeSend: function (request) {
    request.setRequestHeader("Accept", "application/json");
    success: function (json) {
    console.log(json); var names = data; $('#cand').html(data);

    How would I do that?

  2. #2
    Sencha User
    Join Date
    Feb 2013


    I don't know jquery myself, but there's an example on the Ajax proxy doc page which I hope can get you started.

Similar Threads

  1. Exjs Grid Panel and C# WebService Json Difficulties
    By JOAsante in forum Ext: Discussion
    Replies: 4
    Last Post: 31 Aug 2013, 10:37 AM
  2. Parsing AJAX Response HTML
    By mes-x in forum Ext: Q&A
    Replies: 7
    Last Post: 15 Feb 2012, 6:00 AM
  3. How to parsing XML using Ajax request?
    By notfair in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 25 Nov 2010, 6:24 AM
  4. Need Help: Parsing XML from File vs Ajax Response
    By csoon1 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 23 Aug 2009, 7:22 AM
  5. Ext.Ajax.request XML Parsing Question
    By dejohns2 in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 15 Nov 2007, 12:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts