Announcement

Collapse
No announcement yet.

Invalid response from JSON module funtion.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Invalid response from JSON module funtion.


    Code:
    <MvFUNCTIONRETURN VALUE = "{ [ g.Module_JSON ].JSON_Response_Success() }">
    in JSON Module Function produces invalid response error.

    json_response.png

    Error was from onreadystatechange event in Function AJAX_Call_Initialize

    Code:
        try
        {
           if ( ( typeof JSON !== 'undefined' ) && ( typeof JSON.parse !== 'undefined' ) )
                response = JSON.parse( http_request.responseText );
           else
                response = eval( '(' + http_request.responseText + ')' );
        }
        catch ( e )
        {
           response = error_response( http_request );
        }
    Value of http_request.responseText is "Invalid Character".

    Any advise?

    Thank you.
    Attached Files
    Daniel Kim, Compu-Mate
    Developer
Working...
X