file upload processing image notification to User?

I have the button where i am implement the fileupload concept but the problem while uploading the file there is no notification.So i Want to give notification(Like any Circle image revolving after finish load it will stop and back to home page) to the User that this processing.Below is my code.

//File Upload

		var _inputFile=document.getElementById("inputfile");
		var Uploadedfilename;
		//Uploading Image
		$("#attachfile").on('click',function() {

		//Uploading content into DIV container

		 _inputFile.addEventListener("change", function (evt) {
		            file = this.files[0];
		            if ( window.FileReader ) {
		                reader = new FileReader();
		                reader.onloadend = function (e) { 
							$("#filename").val(; }

Source: ajax

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.