PDA

View Full Version : Have issue with response of submit (response in json but somewhere html been shown)



fastwings
15 Mar 2012, 1:10 AM
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 (http://www.pasteall.org/30057/javascript)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

arthurakay
15 Mar 2012, 7:34 AM
Is your issue solved?