<link href="http://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">


<script>
function loadFile() 
{
		var fichier = "5.jpg";

		var data = 'fichier='+ fichier;
			
		alert("dfsff");
	
}

</script>

<form action="send01.php" method="post" enctype="multipart/form-data">
    <label>Select a File to Upload</label> <input id="upload_file" type="file" name="upload_file" /> 
    <input type="button" value="Upload" onclick="loadFile()" />
</form>



			<div id="message_succes" style="display: none">
			<p>
			<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
			Copie sur le serveur .
			</p>
			</div>
			
			<div id="message_existe" style="display: none">
			<p>
			<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
			Le fichier existe sur le serveur.
			</p>
			</div>
			
			<div id="message_taille" style="display: none">
			<p>
			<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
			Le fichier est trop gros.
			</p>
			</div>