I have a javascript method that checks for an unread message. If it exists it displays the image of an envelope.
The method executes a jQuery.ajax that calls a WebMethod that returns the amount of unread messages.
But now I need to add SpeechSynthesizer (C #) in WebMethod to speak the unread messages. However when I add this functionality the success, complete or jQuery.ajax error is not executed, and I do not know how to solve it.