What are HTML DOM #text elements?
问题 I'm learning knockout.js and trying to use an afterRender callback to apply behaviour to elements. I don't understand what these #text elements are that show up in my console.log() . So UI looks like this: Knockout binding like this: <div id='categoriesTree' style="color:black"> <table class='categoriesEditor'> <tbody data-bind="template: { name: 'itemTmpl', foreach:children, afterRender: myPostProcessingLogic2 }"></tbody> </table> </div> Template: <script id="itemTmpl" type="text/html"> <tr>