0

This question already has an answer here:

I have been searching for a way to upload a document manually to a SharePoint document library using Jquery. i have done it in C#, but i want to do the same in Jquery. Still i couldn't find the way, but i am trying. Please anyone would help me to get this stuff done. Any guide is appreciated.

Basic logic what i did in C# is shown below, how would i do the same thing in Jquery. I am using SharePoint 2010 and my browser is IE9

string filename = fileBrowser.FileName;  

Stream fstream = fileBrowser.FileContent;

SPFile spfile = myLibrary.Files.Add(filename, fstream, replaceExistingFiles);

marked as duplicate by Robert Lindgren, Benny Skogberg, RJ Cuthbertson, Eric Alexander, John Chapman Aug 7 '13 at 19:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • No obviously it is not. In there it is all about a plugin, but i want do it manually. – Nera Aug 7 '13 at 8:12
  • Well since you have the source code for the upload "plugin" there, I still think you find your answer there.. – Robert Lindgren Aug 7 '13 at 8:14