extjs - how to load a same funcion twice in javascript file -


i having init function , want load init function again calling same method. want refresh once same loaded page.

example code is

ext.onready(kbase.init, kbase); 

this call

kbase.init = function(){     /* ... */ } 

i want load init function again in same js file. or else want refresh once same js page.

just try call init function once more.

ext.onread(kbase.init, kbase); /* ... */ $("button").click(function(){     kbase.init; }); 

or check if there "updated" function object.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -