[Dojo-interest] document.getElementById not working after domConstruct.place

dolot dsouthern at targetedgeosystems.com
Wed Oct 19 12:35:00 EDT 2016


Found the solution.  I simply replaced the line:

domConstruct.place(data, element, "replace");

with:

element.innerHTML = data;

My guess is that .place was replacing 'element' with 'data', rather than
inserting 'data' into 'element'.  I guess I misunderstood how place was
working.  In this case, I don't really need domConstruct at all.






--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/document-getElementById-not-working-after-domConstruct-place-tp4007006p4007007.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.


More information about the Dojo-interest mailing list