Login Register

Execute Javascript inside Dialog

I am loading Dialog using setHref .In the loaded page, I have javascript. How to execute that Javascript?

There isnt a great answer to

There isnt a great answer to this currently. The functionality you want is in dojox.layout.ContentPane, but the Dialog extends dijit.layout.ContentPane. So really you need to make your own Dialog, which extends the dojox ContentPane, but it otherwise basically a cut and paste of dijit.layout.Dialog. Then you can set the executeScripts property and make use of that stuff in dojox.layout.ContentPane