javascript - get data in html text box -


I am displaying data in tree structure using dojo. The data will be read from the XML file. When we click on the special data in the tree we are finding its name. NewArgs.name = fileStore.getValue (item, "name"); What do I want when the particular node is clicked, then the name of that name is displayed in the text box. How can I do this?

If I understand the question correctly, then you can determine the value of the text box Together (I believe that you have also created a text box with dojo)

  dijit.byId ('textboxName'). Ether ("value", yourValue);  

Comments