Googled for about 1 hour, still cannot find how to perform this simple task!
upload.php ends up with:
echo "FILEID:" . $randomid; // Return the file id to the script
now trying to get this FILEID:
function uploadSuccess(serverData) {
alert(serverData);
}
Alerts [object Object]. Documentation does not help at all. No examples are available.
Please help!
SOLVED! It was much more simple. Why do I always think complicated? function uploadSuccess(fileObject, serverData, response) { alert(serverData); }