Sunday, January 1, 2012

How to make Dojo parse the html elements on page on load ?

Dojo can parse the elements in the html and convert to Dojo or Dijit elements.

Include  parseOnLoad config parameter after the script include tag.

    djConfig="parseOnLoad:true">

For some reasons if this is not worked try the below js code after dojo include 
tag.

<script type="text/javascript">
dojo.config.parseOnLoad=true;