Login Register

executeScripts

How do I execute JavaScript in a HTML segment using Ajax?

version:
1.0

The dijit.layout.ContentPane is meant to handle only HTML through it's .setHref(url) and .setContent(htmlBlock) methods. There is an alternative called dojox.layout.ContentPane which provides executeScripts capability, evaluating any inline tags it encounters.

HOWTO: a nice way to load dojo pages in a TabContainer

we want few words and more code...

index.html

index

 

dojo.require("dojox.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");

Syndicate content