1. #1
    Sencha User
    Join Date
    Nov 2007
    Posts
    32
    Vote Rating
    0
    fastwings is on a distinguished road

      0  

    Question Answered: Have issue with response of submit (response in json but somewhere html been shown)

    ok i recive this response:

    {"success":true,"errorCode":-1,"error":""}
    Nore no HTML inside the jsonbut the js is say its entered:

    uncaught exception: You're trying to decode an invalid JSON String: <pre>{"success":true,"errorCode":-1,"error":""}</pre>
    the code: http://www.pasteall.org/30057/javascript


    I
    ssue fix.
    Ok Guys Issue Been fix that so odd seem like when u upload a file the extjs submit cant handle the json response and if u make at html and convert walla u got at

    $this -> output -> set_content_type('text/html');
    that all the problem
    Last edited by fastwings; 15 Mar 2012 at 2:15 AM. Reason: Fixed

  2. Is your issue solved?

  3. #2
    Sencha - Tools Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,447
    Vote Rating
    67
    Answers
    72
    arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice arthurakay is just really nice

      0  

    Default

    Is your issue solved?

Thread Participants: 1

Tags for this Thread