Hi!
I was looking at the Window component documentation. There is a request option called "template". I am assuming this template can be used to format JSON data returned from the server. So, the template I used was the following:
The data returned from the server is something like:
However, I always get a Javascript error that says "ReferenceError: html is not defined".
Any ideas why html is not defined though it comes in the response body?
Regards.
I was looking at the Window component documentation. There is a request option called "template". I am assuming this template can be used to format JSON data returned from the server. So, the template I used was the following:
"#= html #"
"html"
:
"<span>Hello world!</span>"
,
"instanceId"
:
"10A"
,
"data"
:
null
Any ideas why html is not defined though it comes in the response body?
Regards.