I think you need to use Response.Write(fwJSON.WriteCursor()) so that the FWX will return json instead of a page. Then all you have to do is to write an ajax/ http request.
Sent by Olatunji Beckley on 07/27/2018 04:02:09 PM:
This is really not a foxweb issue, but need someone to help or suggest a solution.
E.g. (Sample Foxweb Script):
SELECT * FROM SON5200 INTO CURSOR crScharge ORDER BY Servcode
IF _TALLY > 0
SchargeJSON = fwJSON.WriteCursor()