Json of jquery form plugin cannot be acquired -


I'll upload the file using jquery form plugin, and at the end of the question period on the $ .jax process event Farm response data is Jason

The processing is done from the end of the server without the hassle, and until the firebug looks with the JSN form, the response data is returned in size. However, I can not get that $ .jaxform data after that, it is a part of processed code.

  Code  $ ('#Uploads') AjaxForm ({cache: false, data type: 'json', type: 'post', error: function (xhr, status, error) {warning ('error condition condition:' + position + '- position text:' + error '': 'Path': 'path', 'type': 'type'}, complete: ('+' - error result: '+ xhr.statusText);}, timeout: 1000, datatype:' jason ', data: {Warning ('full');}, success: work (data) {alert ('success');},});  
  Feedback   (firebug)   The length of the material closed 155 content-type application / Jason; Charset = utf-8 position 200 data json {"type": "Jason", "message": "full process"} & lt; I & gt; (A browser) & lt; / I & gt; a?? Download Jason Data ?? ¡WARNING ('Error occurred. Status: Timeout - Status text: Timeout - Error result: N / A') A ?? ¢ alert ('full') & lt; / Pre & gt;   

When the datatyme was HTML, it was able to process success. Also, when it's $ .Jax, JSON succeeds, is there a compromise plan? It asks the appropriate

like contentType

  $ ('#Uploads'). AjaxForm ({cache: incorrect, datatype: 'jason', content type: "app / jason; charset = utf-8", type: 'post', error: function (xhr, status, error) {warning ('error occurred Status: '+ status +' - Status text: '+ error +' - error result: '+ xhr.statusText);}, timeout: 1000, data: {' path ':' path ',' type ':' type Success: Work (data) {Alert ('success')}}}}    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -