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 - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -