jquery - Need to call dojo widget function from normal javascript -


i opening child window dojo widget, on close of child window need call parent window dojo widget function.

is possible call dojo widget function normal javascript. if possible please share code snippet.

it possible use registry call specific dijit widget in rest of application.

you can use requiring module dijit/registry (more info here).

the .byid() function reference widget registry.

after can call function on widget object.

a pseudo-code example below:

require(['dijit/registry'], function(registry){     var widget = registry.byid('yourwidget');     widget.callyourfunction(); }) 

please consider adding minimum test case in question, can post more specific answer.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -