I'm trying to return the image that I'm uploading on submit.
The problem is I'm not sure how to load in the upload because it's undefined below.
The image path is also <img src="user + upload"/>
Please let me know where to troubleshoot this.
var dataString = 'user='+ getuser + '&upload=' + imgupload;
$.ajax({
type: "POST",
url: "process.php",
data: dataString,
success: function(data) {
$('.lightwindow').hide();
var findme = $(".empty:first")
$(findme).removeClass("empty").removeClass("ui-state-default").addClass("ui-state");
$(findme).append('<img src="'getuser + imgupload'" width="45" height="60" class="expand"/>')
}
});
return false;