[Dojo-interest] Can't do like this?

Soe Moe Kyaw at Stephen Wang swmk.stephen at gmail.com
Mon Jan 29 18:26:46 MST 2007


Can I do like this?

var div=document.getElementById("content");

var _build = "<table dojoType='filteringTable' .....></table>";
div.innerHTML = _build;

or using DOM like;

var table = document.createElement("table");
table.setAttribute("dojoType", "filteringTable");
				
div.appendChild(table);

--
Regards;
Soe Moe Kyaw @ Stephen Wang


More information about the Dojo-interest mailing list