[Dojo-interest] remove node from parser?
Morgan C. Benton
morgan at morphatic.com
Fri Aug 8 19:04:40 UTC 2008
When does the parser get triggered? If you've got it in
djConfig="parseOnLoad:true" then I don't think there's an easy way to
exempt a node from parsing. However, if you initiate the parser
manually then you can choose when and over what scope of elements it
gets called. For example, the code below would parse any elements
within the element with id="foo" when the page loads, but would not
parse any elements outside of foo.
var foo = dojo.byId("foo");
Of course the other option is not to include the nodes with
dojoType="..." in your HTML and add them dynamically later when you want
More information about the Dojo-interest