javascript - Image hiding on load in bpopup -


I need help!

I have the following code onSubmit one file upload:

  function upload file () {var file = _ ("file1"). Files [0]; Var formidata = new form data (); Formdata.append ("file1", file); Var Ajax = New XMLHttpRequest (); Ajax.upload.addEventListener ("progress", progress handler, wrong); Ajax.addEventListener ("load", full handler, incorrect); Ajax.addEventListener ("Error", errorHandler, incorrect); Ajax.addEventListener ("abort", abortHandler, incorrect); Ajax.open ("Post", "php_parsers / file_upload_parser.php"); Ajax.send (formdata); } Function Full Handler (E) {var fileDest = e.target.responseText; // file location response is Text_ ("unloaded IMG"). Src = fileDest; // '_' iselementbyid function is $ ('# sesame'). BPopup (); }   

I started the JCRPP on the object as follows:

  jQuery (function ($) {$ ('# uloadedImg'). );});   

HTML is:

  

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -