jQuery UI Widgets Forums Editors FileUpload server response is empty

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 7 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • server response is empty #78891

    7cinquante
    Participant

    Hello, i’m trying jqwidget …. very good job.

    when i use

    on('uploadEnd', function (event) {
    	var args = event.args;
    	var fileName = args.file;
    	var serverResponce = args.response;
    	console.log("server respoonse : ",args);

    the server response in arg is empty , but if i look the request return in firebug the response is ok , what i have do wrong
    my server side return is :
    echo json_encode(array("error"=>0),true);

    thanks

    server response is empty #78903

    Dimitar
    Participant

    Hello 7cinquante,

    Does the issue you experience occur on different browsers? And is serverResponce empty if you echo a string value? Please make sure you are using the latest version of jQWidgets (3.9.1) when testing.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    server response is empty #78927

    7cinquante
    Participant

    hello, yes the issue exist on chrome too, it’s the same with a string value. the response object only show the filename , but not the object response
    var serverResponce = args.response; return empty
    thank

    • This reply was modified 7 years, 6 months ago by  7cinquante.
    server response is empty #79037

    Dimitar
    Participant

    Hi 7cinquante,

    Could you, please, show a larger portion of your code (widget initialization + event binding) and share if you have any specificities in your configuration. Make sure you are using jQWidgets version 3.9.1, too.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.