"Up top" we have...
define([
"dojo/dom",
"dojo/dom-style"
], function(dom, domStyle){
"Down below" we have...
var textarea = dom.byId("whatever");
domStyle.set(textarea, "width", "100%");
domStyle.set(textarea, "height", "300px");
textarea.innerHTML = text;
No comments:
Post a Comment