after form submit on new tab ajax request are not being sent |
Hi.
I am submitting a form using php on form submit click i am opening a new window using jquery. after opening the window the php form is submitted on that page but it takes 5 to 10 min depending on the file sizes because i am processing file data which the users uploads and in the new tab i want to show the processed data progress using jquery ajax but on the new window tab the ajax requests are being sent but they are not being sent to the server in the chrome network tab if i click on the sent request it shows me this provisional headers are shown and the server is not returning any response. but after the form is submission is completed then the jquery ajax request are returning me the status 200k and the response Here is my form submission new window open code using jqyery Code: $(".btnDataMigrate").click(function (e) { Here is the jquery ajax request code Code: function fetch_files_progess(){ Kindly help me how i can get the response from the jquery ajax request during the form submission process. Thanks |
Welcome Guest, Not a member yet? Register Sign In |