Replace rand_num with x at line number 33 like data_function[x](Math.floor(Math.random() * 7));
since data_function is an array with two elements thus passing rand_num as index makes no sense. Moreover x should be less than 2 in loop not 3 as JavaScript is 0 indexed
— Hey there
— Welcome
— Ty
— Yw :)
— Friends I need one help , to upload large file in to server path by using jquery or java script
— Steganography
— Hey, you asked the same a time ago. I'll sre-end the answer I stated before.
— For large file upload via XHR is recomendable to use chunked file upload. Here is a JQuery plugin that supports that: https://github.com/blueimp/jQuery-File-Upload/wiki/Chunked-file-uploads