I have a
When I'm using: alert($("#uploadPicture").val());
alert($("#uploadPicture").val());
It alerts an empty dialog.