search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Error return JavaScript(SimpleJsonSerializer.Serialize("OK"))

Asked by Ana Molina
4 years ago.


I'm using daypilot and when a I try to use this function "return JavaScript(SimpleJsonSerializer.Serialize("OK"));" the system show me this message error :

Unhandled exception at line 2, column 4058 in http://localhost:55787/Scripts/jquery-1.11.1.min.js

0x800a01bd - Error en tiempo de ejecución de JavaScript: El objeto no acepta esta acción

but only I have this trouble on IE.

how call you help me please?

Answer posted by Dan Letecky [DayPilot]
4 years ago.

You can try sending a different JSON response. This code sends just a string:


This was not considered a valid JSON text in the original JSON spec and older implementations (older browsers, older jQuery versions) mail not be able to parse it. See also:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.