I'm trying to use AJAX to perform tasks which return a status message. I can do this in CF5, but in version 6 my returned JSON values seem to get encapsulated in a div:
Is there something I'm not understanding about the way Connectivity v6 works with AJAX?
Thanks
<div class="semanticui-body G2-joomla chronoconnectivity manager index">My jQuery script is complaining: "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data," because I believe it's expecting '{' instead of '<'.
{"message":"<div class='alert alert-block alert-success'>[...]","close":true}
</div>
Is there something I'm not understanding about the way Connectivity v6 works with AJAX?
Thanks