IBM JAZZ RTC 6.0.5 Cannot find function xhrGet in object Calculated value post
Hello, I'm trying to send some parameter via rest but I got this error:
Cannot find function xhrGet in object
I'm using a javascript calculated value in the attribute.
but not working here is the code:
var xhrArgs = {
url: URL_STRING, handleAs: "text", load: function(data){ // Replace newlines with nice HTML tags. data = data.replace(/\n/g, "<br>"); // Replace tabs with spaces. data = data.replace(/\t/g, " "); targetNode.innerHTML = data; }, error: function(error){ targetNode.innerHTML = "An unexpected error occurred: " + error; } } // Call the asynchronous xhrGet var deferred = dojo.xhrGet(xhrArgs); |
One answer
That sounds like this script is running on the server - see my previous post about how to check. One of the ways is to check whether xhrGet is null
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.