I know that this sends stuff to a php file and gets stuff returned from the php file as javascript:
$.ajax({
type: "POST",
url: "phpfile",
cache: false,
data: datahere,
dataType: "script"
});
But... suppose "datahere" is a file from a input file element. How am I supposed to get the value or data from that upload input file element?