
What is the result of the ajax request when you go to the network tab? On 14 October 2016 at 09:18, Samuel Muiruri via skunkworks < skunkworks@lists.my.co.ke> wrote:
Hi, To the dev's who are good in javascript/jQuery please watch this screen record https://youtu.be/vnrw6gBu8lY What it shows is the response from using jquery fileupload by blueimp on github
jqXHR = $('#files').fileupload('send', {
files: filesList, url: '/whats-on/upload-event/?v='+event_id, }); return jqXHR;
it's returned as result and logged on the console
console.log(result['readyState']); console.log(result); console.log(result.status); console.log(result['status']);
the result on the console
1
Object {readyState: 1} undefined undefined
Accessing the fields on hover shows .status or .state but calling it returns undefined. I've also looked at this page from firefox https://developer.mozilla.org/ en-US/docs/Web/API/XMLHttpRequest which has it as .status
--
Best Regards,
Samuel Muiruri.
--------------------------------------------
Samuel Muiruri, Web Designer & Software Designer
0738940064 | muiruri.samuel@gmail.com
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards, James