Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I Want to upload a file in document library using Client object model with ECMA script Any help will be appreciated

share|improve this question
    
What browser(s) are you using/supporting? Good luck trying to do it with anything less than an HTML 5 compatible browser! –  Mario Pereira Jul 31 '13 at 19:04
    
Why should that be an issue? The Client Object Model for SharePoint is quite capable even without fancy HTML 5 features and jQuery extensions –  Robert Lindgren Jul 31 '13 at 19:07
    
I don't think the Ecmascript Client Object Model has a method to upload a file into the document library. Most suggestions I have seen is to use the Copy.asmx webservice with jquery, but then you run into issues with serializing the file. There are some jquery plugins and AJAX-based solutions, but I find them cumbersome to get working. HTML 5 browsers have FileReader class that greatly simplifies the process! social.msdn.microsoft.com/forums/windowsazure/fr-fr/… –  Mario Pereira Jul 31 '13 at 19:17

1 Answer 1

My suggestion is to start by doing a Google search for "sharepoint upload file javascript"

share|improve this answer
    
It is a bit ridiculous when prowl takes the time to write a question here, when the answer is a simple search away. Probably with a link back here aswell! :) –  Robert Lindgren Jul 31 '13 at 19:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.