Subversion Repositories SmartDukaan

Rev

Rev 22155 | Rev 22186 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22155 Rev 22180
Line 102... Line 102...
102
	   $('input[name="' + inputName + '"]').change(function(e){
102
	   $('input[name="' + inputName + '"]').change(function(e){
103
	    var formData = new FormData();
103
	    var formData = new FormData();
104
	    that = this;
104
	    that = this;
105
		formData.append("file", $(this)[0].files[0]);
105
		formData.append("file", $(this)[0].files[0]);
106
		jQuery.ajax({
106
		jQuery.ajax({
107
	          url: "http://shop2020.in:8080/profitmandi-web/document-upload",
107
	          url: "{rc.contexPath}:8080/profitmandi-web/document-upload",
108
	          type: 'POST',
108
	          type: 'POST',
109
	          data: formData,
109
	          data: formData,
110
	          	cache: false,
110
	          	cache: false,
111
            contentType: false,
111
            contentType: false,
112
            processData: false,
112
            processData: false,