wwHttp.evalResult

Determines whether the result from the callback is automatically evaluated using eval(). Useful for JSON responses.

function CallService() { var http = new wwHttp(); http.contentType = "application/json"; http.evalResult = true; http.send("services/timetrakkerservice.WCSX?LoadCustomer",'{"Pk":11}',Callback); } function Callback(result) { alert( result.Company); // *** Object result }


o.evalResult

See also:

Class wwHttp


  Last Updated: 12/29/2007 | © West Wind Technologies, 2008