Hi All,
I have created a sharepoint hosted app which is used to get the contents of a paticular file from the document library.
Below is the snippet:
$.ajax({url: <realative url of the file>,method: "Get"}).done(successHandler)
.fail(errorHandler);
It always return status code : 0. Could anyone please let me know the what I am missing.
I am refering the following url to achieve this functionality:
but some how its not working.
Thanks in advance.
Regards
AK