jQuery UI Widgets Forums General Discussions FileUploader causes form refresh

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  Hristo 6 days, 2 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • FileUploader causes form refresh #114136

    NormB
    Participant

    I put a jqxFileUpload widget on a form but it’s existence was conditional as the form is created. When the Browse button is clicked the form immediately refreshes, causing a new one to be created so I never get to see and be able to click “upload all”. Most of the time I am OK with using the autoUpload option, but how do I prevent the form refresh?

    FileUploader causes form refresh #114146

    Hristo
    Participant

    Hello NormB,

    I would like to ask you for more details about your case.
    It will be better if you could provide us with one simple example that reproduces your case (in jseditor or in jsfiddle).

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    FileUploader causes form refresh #114247

    fresler
    Participant

    I am having the same problem. It used to work fine and I haven’t made any coding changes. Now the page reloads when the Browse button is clicked. It started not working in Chrome. So I upgraded to JQWidgets 11 and now it doesn’t work properly in Chrome, Safari or Firefox. No Javascript errors are shown in the console.

    Thanks!
    Floyd

    FileUploader causes form refresh #114254

    Hristo
    Participant

    Hello Floyd,

    Please, provide us with more details.
    I tested this demo and it seems to work fine.
    What is your case?
    Our File Upload component uses a Form HTML Element to submit the data and we use the form.post() method.
    That is why the page will be refreshed after posting the Form.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.