I have a simple script, based on the getting started with JavaScript client object model pages on MSDN.
The first part of it, which simply reads the site title and site description attributes and prints them dynamically, works fine.
The second part updates these properties, using the set title and set description methods of the Web Object.
This works fine in Internet Explorer. However in WebKit based browsers, as well as Firefox, the set title and set description methods (which are designed to change the title and description, respectively) generate an error message when they are submitted to the server via the execute query asynchronous method; the updates do not occur.
Here's the complete text of the error:
Request failed. Unexpected response from server. The status code is '0'. The status text of response is ". Null
This is on the sharepoint 2010 product.
Is there a workaround for this problem? Is this for real? Does this error still occur in share point 2013?
(If this is for real, I'll have to use a different product that works in all browsers)