Hi Balaji,
The article I have provided is programmatically client object model method, you should convert it to be used in JavaScript.
And you check the similar thread to use web service,
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9146d127-87b0-4a64-86ec-11a4c2798f62/how-to-upload-file-to-document-library-using-javascript-client-object-model
Best Regards.
Kelly ChenTechNet Community Support
No comments:
Post a Comment