0

How can i send File variable Through Jquery $.post function .Thanks in Advance .

var file=("#File").val(); $.post("process.php",{sFile:file},function(data) { // html(data); }

Patrick Moore
  • 13,251
  • 5
  • 38
  • 63
Hashaam
  • 83
  • 1
  • 1
  • 9
  • 2
    Possible duplicate of [How can I upload files asynchronously?](http://stackoverflow.com/questions/166221/how-can-i-upload-files-asynchronously) – Patrick Moore Jan 30 '17 at 18:21
  • RRRRRRRRRTTTTTTTTTTFFMMMMMMMM....???? https://api.jquery.com/jquery.post/ look up `multipart/form-data` – Jonathan Jan 30 '17 at 18:32

0 Answers0