String is not binding in web widget

String is not binding in web widget

BY 31 May 2017 Web Application Development

I am new to tizen development. I developed a web app for tizen but now i trying to develop a web widget which will collect data from my web application. my problem is i can’t show a string on the widget body. 

any help for me ??? 

i am seeing this

https://developer.tizen.org/development/training/web-application/getting-started/creating-your-first-tizen-wearable-web-widget-application

and adding my string in the widget like this 

document.getElementById(“name”).innerHTML = “My String”;

Written by